Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 894 Bytes

README.md

File metadata and controls

40 lines (22 loc) · 894 Bytes

Code Shrew

Installation (local development)

Prerequisites

Installation instructions

  1. Create a Pipenv environment and install Python dependencies:

     pipenv install --dev
    
  2. Install JavaScript dependencies:

     npm install
    
  3. Create and fill out file with local configuration variables:

    cp shrew/env.dev.example shrew/.env
    

    (alternatively you can set those settings as environment variables)

  4. Run database migrations:

     pipenv run ./manage.py migrate
    
  5. Create database table for keeping caches:

     pipenv run ./manage.py createcachetable
    
  6. Create the admin account:

     pipenv run ./manage.py createsuperuser
    
  7. Start the development server:

     pipenv run ./manage.py runserver