mira
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)
- Clone the repositry and cd into it
git clone https://github.com/pinnoto/mira && cd mira
- Create a PostgreSQL database
- 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
- Run
shards install
- Build it with release optimizations
crystal build --release ./src/mira.cr
Installation (Frontend)
- Go into the
ui
folder - Run
yarn install
andyarn build
- 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
- Fork it (https://github.com/pinnoto/mira/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - 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
Repository
mira
Owner
Statistic
- 9
- 1
- 2
- 0
- 5
- about 2 years ago
- June 21, 2021
License
GNU General Public License v3.0
Links
Synced at
Sat, 21 Dec 2024 19:05:14 GMT
Languages