e85d497d18 | ||
---|---|---|
api | ||
assets | ||
config | ||
docs | ||
migrations | ||
tasks | ||
test | ||
views | ||
.babelrc | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.sailsrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
Gruntfile.js | ||
README.md | ||
app.js | ||
ecosystem.config.js | ||
knexfile.js | ||
package.json | ||
shrinkwrap.yaml | ||
webpack.config.js |
README.md
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