From 2d99c88d26e05bad691f1de7d3cf576d9205a6cc Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 1 Apr 2019 17:16:55 -0400 Subject: [PATCH] move setup instructions to separate file --- README.md | 79 ------------------------------------------------------- 1 file changed, 79 deletions(-) diff --git a/README.md b/README.md index 28c3ecb..b318ef9 100644 --- a/README.md +++ b/README.md @@ -4,82 +4,3 @@ 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](https://sailsjs.com) application -[![Build Status](https://travis-ci.org/miacona96/RoE-pipe.svg?branch=master)](https://travis-ci.org/miacona96/RoE-pipe) - -#### Standalone - -1. Standard npm install -``` -git clone https://github.com/EbookFoundation/river-of-ebooks -cd river-of-ebooks -npm i -``` - -2. Configure environment variables in /etc/environemnt -``` -PASSPORT_GOOGLE_ID -PASSPORT_GOOGLE_SECRET -PASSPORT_GITHUB_ID -PASSPORT_GITHUB_SECRET -DATABASE_CONNECTION -``` - -3. Run database migrations -``` -npm run db:migrate -``` - -4. Build public content -``` -npm run build -``` - -5. Start server -``` -npm start -``` - -#### Elastic Beanstalk - -1. Clone repo -``` -git clone https://github.com/EbookFoundation/river-of-ebooks -cd river-of-ebooks -``` - -2. Deploy to environment -``` -eb deploy environment_name -``` - -3. Configure environment variables on elastic beanstalk -``` -PASSPORT_GOOGLE_ID -PASSPORT_GOOGLE_SECRET -PASSPORT_GITHUB_ID -PASSPORT_GITHUB_SECRET -DATABASE_CONNECTION -``` - -4. Run database migrations -``` -npm run db:migrate -``` - -5. Build public content -``` -npm run build -``` - -6. Start server -``` -npm start -```