Developers: Erik Karwatowski
- Clone this repo
- Setup a local environment for testing using Mamp or setup Apache, Mysql, and PHP and virtuals hosts
- Styling is handled by sass, install Compass
- Install python ~3.5.
- Install pip, securely download get-pip.py.
python get-pip.py
- Configure Python Environment
- Install virtualenv
pip install virtualenv
- Start python3.5 env in directory of projects
virtualenv --python=python3.5 PATH/TO/PROJECT
- Activate python3.5 env
source PATH/TO/PROJECT/bin/activate
- Install required python packages
pip install requirements.txt
- Copy
polar_news/sample-settings.py
topolar_news/settings.py
and populate your local MYSQL database, user, and password - Prepare local environment
- Compile css
cd polar/static/stylesheets/ && compass compile compile
python manage.py makemigrations
python manage.py migrate
python manage.py runserver