- Ruby 2.5
- Imagemagick
- PostgreSQL >= 9
Configuring the database
$ cp config/database.yml.example config/database.yml
$ cp .env.example .env
and adjust to your local environment
$ mysql -u root alchemy-cms.com < db/dump.sql
$ bin/rails server
login: admin
password: test123
Make sure you have Ansible installed. On a mac:
$ brew install ansible
Provisioning is as easy as:
$ ansible-playbook -i hosts playbooks/homepage.yml --ask-vault-pass
Deployment happens via Capistrano.
If you have access to the server via your ssh key a simple:
$ bundle exec cap deploy DEPLOY_USER=<user> SSH_PORT=<port>
is all you need.