Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 919 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 919 Bytes

Flask-CRUD

wakatime

This is a boilerplate for building Flask apps.

▶️ Run Locally

  1. Clone the repo git clone https://github.com/cryptus-neoxys/flask-CRUD.git <name>
  2. Setup virtual environment python -m venv venv/
  3. Switch to virtual environment for development (<venv> is your env name, here "venv")
    • Windows (cmd)
      • Activate <venv>\Scripts\acitvate
      • Deactivate <venv>\Scripts\deacitvate
    • Linux/Mac
      • Activate source <venv>/bin/activate
      • Deactivate deactivate
  4. Install dependencies pip install -r requirements.txt
  5. Setup DB python db_init.py
  6. Run the app with python app.py
  7. Open localhost:5000 to view your app