Icons made by
- Gregor Cresnar
- Smashicons
- Freepik
- Eucalyp
- Vectors Market (and modified by me)
- Good Ware (and modified by me)
- Maxim Basinski (and modified by me)
from www.flaticon.com are licensed by CC 3.0 BY
- Install LTS NodeJS
- Install latest stable Ruby
- Install MongoDB
Install Bundler if not installed
gem install bundler
Install ruby dependencies
bundler install
Install Yarn
npm install yarn -g
yarn install
Copy and rename mongoid config file
cp config/mongoid.yml.sample config/mongoid.yml
Copy and rename .env
cp example.env .env
Change STAFF_DEMO_FILE_PATH in .env file to path of your demo data
Import demo data in DB
bundle exec rake full_import"[Demo,ru]"
Copy and rename puma.rb config
cp puma.rb.example tmp/puma.rb
Create folders for state and pid
mkdir tmp/pids
Finally in tmp/puma.rb and .env change paths to your project folder.
Start API
bunlder exec -C tmp/puma.rb
Start Web server
npm run dev:start
Deployment
bundle exec cap demo2 puma:systemd:config puma:systemd:enable