Skip to content

Latest commit

 

History

History
27 lines (27 loc) · 852 Bytes

README.md

File metadata and controls

27 lines (27 loc) · 852 Bytes

TODO: write actual README

Setup

With Docker

# cd to kemono directory
cp .env.example .env # open .env and configure
cp flask.cfg.example flask.cfg # open flask.cfg and configure
cp kitsune.py.example kitsune.py # open kitsune.py and configure
docker-compose build
docker-compose up -d
cat database.sql | docker exec -i kemono-db psql -U nano kemonodb # initialize database

Manually

This assumes you have Python 3 installed and a running PostgreSQL server.

# make sure your database is initialized
# cd to kemono directory
pip install virtualenv
virtualenv venv
source venv/bin/activate # venv\Scripts\activate on Windows
pip install -r requirements.txt
cp .env.example .env # open .env and configure
cp flask.cfg.example flask.cfg # open flask.cfg and configure
set FLASK_APP=server.py
set FLASK_ENV=development
flask run