1.7 KiB
1.7 KiB
River of Ebooks
https://github.com/EbookFoundation/river-of-ebooks
About
The River of Ebooks serves as an easy-to-use ebook aggregator. Publishers can send metadata from new and updated ebooks through the River where it will be available for any downstream consumers to read, allowing for a more widely available ebook collection. This way, ebooks can be made available on all end user sites, instead of only the site they were published with.
Version info
This app was originally generated on Tue Oct 16 2018 01:21:31 GMT+0000 (UTC) using Sails v1.0.2.
Setup
a Sails v1 application
Standalone
- Standard npm install
git clone https://github.com/EbookFoundation/river-of-ebooks
cd river-of-ebooks
npm i
- Configure environment variables in /etc/environemnt
PASSPORT_GOOGLE_ID
PASSPORT_GOOGLE_SECRET
PASSPORT_GITHUB_ID
PASSPORT_GITHUB_SECRET
DATABASE_CONNECTION
- Run database migrations
npm run db:migrate
- Start server
npm start
Elastic Beanstalk
- Clone repo
git clone https://github.com/EbookFoundation/river-of-ebooks
cd river-of-ebooks
- Deploy to environment
eb deploy environment_name
- Configure environment variables on elastic beanstalk
PASSPORT_GOOGLE_ID
PASSPORT_GOOGLE_SECRET
PASSPORT_GITHUB_ID
PASSPORT_GITHUB_SECRET
DATABASE_CONNECTION
- Run database migrations
npm run db:migrate
- Start server
npm start