Here is Mangaki's installation manual. Welcome!
Also available in French.
Requires Vagrant.
vagrant up
vagrant provision # May be required
vagrant ssh # Will open a tmux that
# You can detach by pressing Ctrl + b then d
And voilà! You can access Mangaki at http://192.168.33.10:8000 (or http://app.mangaki.dev if you have vagrant-hostupdater
).
Requires Python 3.4 → 3.6, PostgreSQL 9.3 → 10, Redis 4.0, and preferably pwgen
.
./config.sh
python3 -m venv venv
. venv/bin/activate
pip install -r requirements/dev.txt
cd mangaki
./manage.py migrate
This step is mandatory only if you need background tasks which is required for features such as MAL imports.
# Ensure that your working directory is where manage.py is. (i.e. ls in this folder should show you manage.py)
celery -B -A mangaki:celery_app worker -l INFO
If you can read something along these lines:
[2017-10-29 14:34:47,810: INFO/MainProcess] celery@your_hostname ready.
The worker is ready to receive background tasks (e.g. MAL imports).
./manage.py runserver
And voilà! You can access Mangaki at http://localhost:8000.
./manage.py loaddata ../fixtures/{partners,seed_data}.json
./manage.py ranking # Compute the anime/manga ranking pages. Should be done regularly.
./manage.py top --all # Compute the Top 20 directors, etc. Should be done regularly.
./manage.py test # Run all tests
See also our interesting Jupyter notebooks, in another repository.
- Read CONTRIBUTING.md
- Browse the issues and the wiki
- First time? Track the
good first issue
label!
- Feel free to contact us at jj@mangaki.fr
- Found a bug? Create an issue.
- Stay in touch with our blog: http://research.mangaki.fr