Plokkeri

CircleCI codecov

Simple blogging platform by Jarno Luoma-Nirva. GitHub

Using

Installing

  1. Install Ansible

  2. Get sources:

    git clone https://github.com/jarnoln/plokkeri.git

  3. Add your host to ansible/inventory. Then:

    ansible-playbook -i ansible/inventory ansible/provision-deb.yaml

    fab -f fabfile.py deploy:host=user@host

Set up development environment

Get sources:

git clone https://github.com/jarnoln/plokkeri.git

Create virtual environment and install Python packages:

mkvirtualenv -p /usr/bin/python3 plokkeri
pip install -r requirements.txt

Generate password:

python plokkeri/generate_passwords.py plokkeri/passwords.py

Initialize DB:

./manage.py migrate
./manage.py makemigrations plok
./manage.py migrate

Run tests:

./manage.py test

If tests pass, you should be good to go.

Run development server:

./manage.py runserver

Now should be able to see Plokkeri in your browser at http://127.0.0.1:8000/