Skip to content

valente3/security_cw2

master
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?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published