A personal blog built with Django.
- docker
- virtualenvwrapper
- python-dev(apt)
- libpq-dev(apt)
$ 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
- Ansible >= 1.9.4
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
$ make deploy