Skip to content

Latest commit

 

History

History
41 lines (40 loc) · 1.18 KB

README.md

File metadata and controls

41 lines (40 loc) · 1.18 KB

Simpl

A short Full Stack demo app for implementing a simple e-commerce site

Instructions for local deployment

  1. Create a python3 virtual environment:

    Minimum Python version 3.6+, recommended 3.10+

    virtualenv env

    if your system still has python2 as default python make sure you have python3 and then:

    virtualenv env -p python3
  2. Activate the virtualenv:
    • for Mac/Linux (use the extension for your respective shells, like .sh, .bash, .zsh, etc)
      source env/bin/activate
    • for windows
      .\env\Scripts\activate.ps1
  3. Install the dependencies from requirements.txt
    pip install -r requirements.txt
  4. Run django makemigrations and then migrate for initializing the database (SQLite3)
    python ./manage.py makemigrations frontend
    python ./manage.py migrate
  5. Create a superuser for admin interface
    python manage.py createsuperuser
  6. Run the server
    python ./manage.py runserver