My personal blog built with Django.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deployment
requirements
yanlog
.gitignore
Makefile
README.md
circle.yml
docker-compose.yml
tox.ini

README.md

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