[go: up one dir, main page]

0% found this document useful (0 votes)
18 views4 pages

Setup Guide

This document outlines the steps to run a Django project, starting from downloading Python and creating a virtual environment. It includes commands to modify the Register function, update the SECRET_KEY, and install necessary files. Finally, it provides instructions to run the deployment server and access the website at a specified URL.

Uploaded by

Santosh Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views4 pages

Setup Guide

This document outlines the steps to run a Django project, starting from downloading Python and creating a virtual environment. It includes commands to modify the Register function, update the SECRET_KEY, and install necessary files. Finally, it provides instructions to run the deployment server and access the website at a specified URL.

Uploaded by

Santosh Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Steps to run the Django Project

Step 1​: Download ​Python​ (Version ​3.6x​ or later) and install ​pip

Step 2: ​Create a ​virtual environment

Step 3: ​Run the following command on your terminal

Step 4​: Go to the following directory :


Remove the last argument ​{‘title’:title}​ from the ​Register​ function

( i have already deleted the argument)

Step 5​: Go to the following directory

And find the area that says ​SECRET_KEY​ and change it’s value to the value provided (SECRET_KEY.txt file)

Step 6: ​There should be a zip file named ​spotify-music-genre-list y​ ou should install it in a ​specified
directory​ (remember the directory where you have saved the file) and extract the file. You should get a file named
SongDb.tsv

Step7:​ Go to the directory called

and change the directory to ​the directory​ where you have saved the file ​SongDb.tsv

(in my case I have saved my file Songs.tsv inside the directory C:\\Users\\user\\.......\\songDb.tsv)

Step 8​: Run the following command on your terminal

Or
Step 9​: Finally run the deployment server using the following command in the terminal

Or

Step 8​: In the terminal you will see a website named Http//127.0.0.1/8000

Click the site and then browser will open with the site. YOU HAVE TO ADD ​/home/ ​ after it.

Finally the website will become ​http//127.0.0.1/8000/home/

DONE

You might also like