Prompt Detail:
Sure, here are the steps to set up and run the Foodiepy
app on Windows:
Open your command prompt and navigate to the directory where you want to clone the project.
Clone the
Foodiepy
project by running the following command:bashgit clone https://github.com/nirmaltrivedi/Foodiepy.git
Navigate to the project directory by running the following command:
bashcd Foodiepy
Create a virtual environment for the project by running the following command:
bashpython -m venv env
Activate the virtual environment by running the following command:
bashenv\Scripts\activate
Install the required packages by running the following command:
pip install -r requirements.txt
Migrate the database by running the following command:
python manage.py migrate
Create a superuser account by running the following command:
python manage.py createsuperuser
Follow the prompts to create a new superuser account.
Finally, run the development server by running the following command:
python manage.py runserver
This should start the development server at
http://localhost:8000/
. You can access theFoodiepy
app by navigating to this URL in your web browser.
That's it! You should now be able to use the Foodiepy
app on your local machine.