-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
Tom Orth edited this page Aug 9, 2020
·
3 revisions
This assumes that you have installed Ruby 2.7.0, Rails 6.0.2.1, Postgres, NodeJS and Yarn This application has been tested on a Linux environment so currently is the only known one that the server can be run on. For ruby, rails and postgres, please follow this: https://gorails.com/setup/
For nodejs, follow the appropriate guide for your OS: https://nodejs.org/en/download/package-manager/
For yarn: https://classic.yarnpkg.com/en/docs/install/#mac-stable
- Clone the repository by performing: git clone https://www.github.com/TomOrth/Open-Learning-Platform
- cd Open-Learning-Platform/src
- Run: bundle install and yarn install a. If bundler is not installed, please run: gem install bundler -v 2.1.4, and then repeat the above
- Run the following commands to properly setup the database a. rake db:create b. rake db:migrate:reset c. rake db:migrate d. rake db:seed
- Run the command: rails s
- Now go to Google Chrome (Browser this application has been tested in), and go to localhost:3000
- You are now able to access the application