Go to file
unknown 3249944cc3 update installation 2019-04-01 17:15:22 -04:00
api remove unneeded delete 2019-03-25 14:10:34 -04:00
assets Merge pull request #49 from EbookFoundation/anchor-patch-1 2019-03-25 12:20:19 -04:00
config use env variables for eb deployment 2019-03-20 15:08:19 -04:00
docs add pressbooks integration link 2019-03-26 13:22:11 -04:00
migrations fields renamed 2019-03-14 12:41:50 -04:00
tasks fix things I fixed before and that were overwritten 2018-11-19 19:22:41 -05:00
test add test folders 2018-10-29 20:03:47 -04:00
views fields renamed 2019-03-14 12:41:50 -04:00
.babelrc add babel polyfill 2018-10-29 19:23:37 -04:00
.editorconfig init sails app 2018-10-15 21:45:37 -04:00
.eslintignore Revert "merge #18, #19, #20, #23, #25" 2018-11-12 17:12:16 -05:00
.eslintrc Revert "merge #18, #19, #20, #23, #25" 2018-11-12 17:12:16 -05:00
.gitignore use env variables for eb deployment 2019-03-20 15:08:19 -04:00
.sailsrc test 2018-11-01 20:21:36 -04:00
.travis.yml Revert "merge #18, #19, #20, #23, #25" 2018-11-12 17:12:16 -05:00
CONTRIBUTING.md Create CONTRIBUTING.md 2018-10-15 22:41:12 -04:00
Gruntfile.js fix things I fixed before and that were overwritten 2018-11-19 19:22:41 -05:00
README.md update installation 2019-04-01 17:15:22 -04:00
app.js fix things I fixed before and that were overwritten 2018-11-19 19:22:41 -05:00
ecosystem.config.js use env variables for eb deployment 2019-03-20 15:08:19 -04:00
knexfile.js use env variables for eb deployment 2019-03-20 15:08:19 -04:00
package.json new homepage and documentation pages 2019-03-13 12:55:35 -04:00
shrinkwrap.yaml breakpoints for mobile displays 2019-03-19 16:24:57 -04:00
webpack.config.js add admin pages for whitelist management 2019-02-24 16:27:24 -05:00

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 Build Status

Standalone

  1. Standard npm install
git clone https://github.com/EbookFoundation/river-of-ebooks
cd river-of-ebooks
npm i
  1. Configure environment variables in /etc/environemnt
PASSPORT_GOOGLE_ID
PASSPORT_GOOGLE_SECRET
PASSPORT_GITHUB_ID
PASSPORT_GITHUB_SECRET
DATABASE_CONNECTION
  1. Run database migrations
npm run db:migrate
  1. Build public content
npm run build
  1. Start server
npm start

Elastic Beanstalk

  1. Clone repo
git clone https://github.com/EbookFoundation/river-of-ebooks
cd river-of-ebooks
  1. Deploy to environment
eb deploy environment_name
  1. Configure environment variables on elastic beanstalk
PASSPORT_GOOGLE_ID
PASSPORT_GOOGLE_SECRET
PASSPORT_GITHUB_ID
PASSPORT_GITHUB_SECRET
DATABASE_CONNECTION
  1. Run database migrations
npm run db:migrate
  1. Build public content
npm run build
  1. Start server
npm start