Skip to content

Swiftkind/portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portal

Requirements

  • Django == 2.0.2
  • Postgres == 9.6.7
  • Python == 3.6.3

Django Setup

  1. Activate your environment
  2. Install requirements:
    • $ pip install -r requirements.txt
  3. Go to assets/ and install the frontend packages:
    • $ cd assets/
    • $ npm install

Postgres Setup

  1. $ sudo su - postgres psql
  2. CREATE USER username WITH PASSWORD 'password';
  3. CREATE DATABASE databasename;
  4. GRANT ALL PRIVILEGES ON DATABASE databasename TO username;