Prompt Title: Streamlit Food Forecasting

Created 1 year ago
Votes 0
Views 138 times
0

Prompt Detail:

Sure, here are the steps to set up and run the Foodiepy app on Windows:

  1. Open your command prompt and navigate to the directory where you want to clone the project.

  2. Clone the Foodiepy project by running the following command:

    bash
    git clone https://github.com/nirmaltrivedi/Foodiepy.git
  3. Navigate to the project directory by running the following command:

    bash
    cd Foodiepy
  4. Create a virtual environment for the project by running the following command:

    bash
    python -m venv env
  5. Activate the virtual environment by running the following command:

    bash
    env\Scripts\activate
  6. Install the required packages by running the following command:

    pip install -r requirements.txt
  7. Migrate the database by running the following command:

    python manage.py migrate
  8. Create a superuser account by running the following command:

    python manage.py createsuperuser

    Follow the prompts to create a new superuser account.

  9. 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 the Foodiepy 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.

avatar
samruddhi
Shared 1 prompt
Created 1 year ago

Leave a Comment

Related Tag Prompts

94
0
151
0
Docker Pro
1 year ago 2023-01-29 06:08:59 AIPRM
308
0
MySQL Marvel
1 year ago 2023-02-13 00:05:32 AIPRM
260
0
Ansible Expert
1 year ago 2023-02-01 09:23:50 AIPRM
193
0
PostgreSQL Pro
1 year ago 2023-02-07 03:45:19 AIPRM
114
0
270
1
Dockerize me
1 year ago 2023-02-17 08:27:58 Chad Thompson-Smith