Django Docs - v4.0.0
Installation

1. Download the Package

2. Unzip the Package

  • Extract the contents of the downloaded .zip file to a directory on your computer.

3. Install Node Modules

  • Open your terminal or command prompt and navigate to the directory where you unzipped the package.
  • Execute:
    yarn

3. Create a Production Build

  • Command: In the same directory, run:
    yarn run build

    This command will create a production-ready build of your project in a distribution directory.

4. Installation Flask

  • Command: To check if your system has Python installed, run this command in the command prompt::
    python --version
  • Command(Windows): To create virtual environment, run this command in the command prompt:
    py -m venv virtual_env
  • Command(Unix/MacOS): To create virtual environment, run this command in the command prompt:
    python -m venv virtual_env
  • Command(Windows): Then you have to activate the environment, by typing this command:
    virtual_env\Scripts\activate.bat
  • Command(Unix/MacOS): Then you have to activate the environment, by typing this command:
    source virtual_env/bin/activate
  • Windows:
    (virtual_env) C:\Users\Your Name>
  • Unix/MacOS:
    (virtual_env) ... $
  • Command: To install flask and other packages, Navigate to 'Admin/' in the terminal and run this command in the command prompt:
    pip install -r requirements.txt

5. Terminal 1

  • Command: After the dependencies are installed, start flask server locally by running:
    py manage.py runserver

    Outcome: This command will start project on development mode. You can visit by http://127.0.0.1:8000:

6. Terminal 2

  • Command: To start the project in Vite development mode, run:
    yarn start

    This command will start the Vite development server.