Skip to content

wsh32/psychic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psychic

Buzzfeed style predictive quizzes

Installation:

  1. Install Python 3
sudo apt-get install python3 python3-pip
  1. Set up a virtual environment, I use virtualenv
sudo python3 -m pip install virtualenv
mkdir ~/.envs
python3 -m virtualenv ~/.envs/psychic
  1. Install the dependencies in the virtualenv using pip
source ~/.envs/psychic/bin/activate
pip install -r requirements.txt
  1. Run the dev server
cd psychic
./manage.py runserver
  1. Open localhost:8000 in a web browser

Changes to make for deployment

  1. settings.py
    • Set DEBUG to False
    • Set ALLOWED_HOSTS
  2. ~/.bashrc
    • Add export SECRET_KEY="(insert secret key here)"

About

How much code can I write past 2am?

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors