johnschimmel / Elly

Studio 3 final project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DJANGO

This is a testing platform for webapp tool Elly, my final project for studio 20.

Sample .env file

Create .env file in root directory with the following key/values. Ask Igor for details.

dbport=5432
db=DBHERE
dbuser=abc
dbpassword=pass
dbhost=hosturl
saltkey=djangosalt
parselytoken=parsleytokenhere
parselyapikey=apikeyhere

Run Locally

requirements

  • install python, pip, virtualenv

Turn on Virtualenv

cd /DJANGO
source venv/bin/activate

This source command turns on virtual environment to encapsulate python libraries.

Turn off venv

deactivate

Install python requirements

sudo pip install -r requirements.txt

update python requirements

# install the library
pip install something

# freeze to requirements
pip freeze > requirements.txt

About

Studio 3 final project


Languages

Language:Python 84.6%Language:HTML 8.6%Language:CSS 6.8%