The recommended software versions are
- rails
>=5.1 - ruby
>=2.3 - node
>=7
You should have the following packages installed (see Dockerfile)
build-essentialnodejsnpmlibpq-devwgetgitcron
You should provide a redis instance and an SMTP server.
We strongly recommend using the Docker--approach:
- Install all needed packages (see above)
1a. Update node to version 8:
sudo npm install -g n && sudo n 81b. Install ember:sudo npm install -g ember bower - Clone this repository
- set the needed environment variables(use
source development.shfor a quickstart) - Create the needed database:
rake db:create db:migrate - Precompile the assets:
rake assets:precompile - Start the engines:
rails s
- Set variables in
docker-compose.yml - Build and start the docker container:
docker compose up --build -d- Next we need to seed the database with some test data:
docker compose exec web bundle exec rails db:seed
docker compose exec web bundle exec rails db:migrate