=============================
A tool to create user-generated book covers and share on social media.
To compile SASS in an easy way install Gulp + NodeJS.
Run:
npm installTo start Gulp, which monitors and compiles SCSS to CSS run:
gulpNow all files in _scss are watched and the _scss/main.scss compiles to bcg/static/css/main.css on save.
If you want to compile the JS (all source files are in _js) to the file scripts.min.jsz, then run:
gulp minifyJS- Download and install Python 3.5.2 from python.org
- Download and install
virtualenvto create a virtual environment (docs) - Create a virtual environment:
virtualenv -p python3 .venv- Activate newly created virtual environment:
source .venv/bin/activate- Install Python requirements:
pip install -r requirements.txtFor image upload and handling.
-
Install all dependencies:
pip install -r requirements.txt -
Install Postgres (protip: http://postgresapp.com/)
-
Within psql, run:
create database danandphil; -
Run Django migrations to populate database:
python manage.py migrate