8000 GitHub - Egaros/mangaki: Site de recommandation de mangas et d'anime
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Egaros/mangaki

 
 

Repository files navigation

Mangaki

Dependency Status CircleCI Codecov

Here is Mangaki's installation manual. Welcome!
Also available in French.

Install

VM install (super simple but requires 6 GB)

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).

Full install

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

Running the background worker (Celery)

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).

Running the web server

./manage.py runserver

And voilà! You can access Mangaki at http://localhost:8000.

Some perks

./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.

Contribute

Contact

About

Site de recommandation de mangas et d'anime

Resources

License

Code of conduct

Stars

Watchers

Forks

< 41C4 div class="mt-2"> 0 forks

Packages

No packages published

Languages

  • Python 58.3%
  • JavaScript 20.4%
  • HTML 18.1%
  • CSS 2.4%
  • Shell 0.8%
0