django static version of my blog
Python CSS Ruby Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
plm_website
script
static
.editorconfig
.gitignore
Dockerfile
Procfile
Procfile.dev
README.md
__init__.py
gunicorn_start
manage.py
package.json
requirements.txt

README.md

Requirements

  • Python 2.7
  • NodeJS 0.10

Installation

sudo apt-get install python-virtualenv
cd /path/to/botify-website/
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
sudo apt-get install npm
npm install
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y nodejs
sudo npm -g install yuglify
sudo ln -s /usr/bin/nodejs /usr/bin/node # needed to fix error "pipeline.exceptions.CompressorError: /usr/bin/env: node: No such file or directory" on `make generate-dev`

Launch server

python manage.py runserver

Then go to http://localhost:8000

Push on Staging

git pull origin master
make generate-dev

Push on Production

git pull origin master
make generate-prod

Bitdeli Badge