Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.65 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.65 KB

mira

EPUB server and reader written in Crystal

NOTE: Mira is currently in development, but is close to being done! Contributions are very appreciated!

Installation (Backend)

  1. Clone the repositry and cd into it git clone https://github.com/pinnoto/mira && cd mira
  2. Create a PostgreSQL database
  3. Set the MIRA_CONFIG environment variable: export MIRA_CONFIG=/etc/mira/config.yml and configure it
port: 11880
library: /home/user/library
covers: /home/user/covers
open_registrations: true
db_name: mira
db_user: mira
db_password: replaceme123
  1. Run shards install
  2. Build it with release optimizations crystal build --release ./src/mira.cr

Installation (Frontend)

  1. Go into the ui folder
  2. Run yarn install and yarn build
  3. This will create a dist folder that contains the built static files, which you can serve using NGINX.

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it (https://github.com/pinnoto/mira/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Troplo - creator and maintainer
  • straw - creator and maintainer
  • Giorgi Kavrelishvili - creator of Grip Framework, helped immensely with this project, and is a very kind person