Skip to content

jarnoln/plokkeri

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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/

About

Simple blog platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published