janusle / yanlog

My personal blog built with Django.
http://yanle.me
1 stars 0 forks source link

Yanlog

Build Status

A personal blog built with Django.

Main stack

Development prerequisites

Development setup

$ mkvirtualenv yanlog

# Install all dependencies
$ pip install -r requirements/dev.txt

# Pull the postgres docker image
$ docker pull postgres

# Start the DB
$ docker-compose up

# Start the dev server
$ make

Deployment prerequisite

Note: Ensure ssh config for loginning to the server has been set

Sample:

Host yanlog
  HostName x.x.x.x
  User xxx
  IdentityFile ~/.ssh/ssh_key

Deployment

$ make deploy