https://github.com/gabrielpoca/manga
An offline manga reader on the web
https://github.com/gabrielpoca/manga
elixir javascript
Last synced: about 1 month ago
JSON representation
An offline manga reader on the web
- Host: GitHub
- URL: https://github.com/gabrielpoca/manga
- Owner: gabrielpoca
- Created: 2017-05-18T08:34:02.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-16T17:33:11.000Z (over 7 years ago)
- Last Synced: 2025-10-09T23:37:08.020Z (9 months ago)
- Topics: elixir, javascript
- Language: JavaScript
- Size: 271 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Manga Reader
============
This is a manga reading application. It has a client in React and an api in Phoenix.
Development
-----------
Prerequisites:
* elixir 1.5.2
* node
* yarn
* an account in [Mashape's market](https://market.mashape.com). Create an
application and include the [Manga Scrapper API](https://market.mashape.com/doodle/manga-scraper).
Save the application's API KEY.
Setup:
* Setup environment with `bin/setup`
* Update the environment variables in `.envrc`.
Running in development:
* source the environment variables `source .envrc` (you can use [direnv](https://github.com/direnv/direnv) to automate this step)
* start Phoenix server with `bin/server`
* start React client with `bin/client`
Now visit the api in http://localhost:4000/api/mangas and the client in http://localhost:3000.
Production
----------
There is a docker image in [gabrielpoca/manga](https://hub.docker.com/r/gabrielpoca/manga/). To start the image run:
```
docker run -p 4000:4000 -e "API_KEY=YOUR API KEY" -e "HOST=http://localhost:4000" -e "PORT=4000" -it --rm gabrielpoca/manga:release foreground
```