Skip to content
Permalink
902936d6ad
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
34 lines (26 sloc) 808 Bytes

CodeHub

CodeHub is a question answer web application.

Requirements

pip3 install -r requirements.txt

Setting Enviroment Variables

enviroment variables need to be defined in the terminal before app is run copy and past the abose commands. Change the values in ' '

"----------------ENV VARS----------------"
*each command has to be inserted separatly*
*admin account only created when home is accessed for the first time*

export SECRET_KEY='the_secret_key'
export SECURITY_PASSWORD_SALT='the_password_salt'

export MAIL_USERNAME='email_username'
export MAIL_PASSWORD='email_password'
export MAIL_DEFAULT_SENDER='full_email'

export SEED_ADMIN_EMAIL='admin_email' 
export SEED_ADMIN_PASSWORD='admin_password' 

Run

navigate to project directory

python3 run.py