Install dependency and setup everything for ha4db
.
- Setup instance via ha4db-ec2 or setup ubuntu 20.04 instance.
- Setup ansible if you need.
- Run ansible-playbook
ansible-playbook ha4db.yml
You need to create administrator user at first.
First, run rails console
with production environment.
sudo su - appsrv
cd /srv/ha4db/app/current
bin/rails console -e production
In Rails console:
a = AdminUser.new
a.login_name = "your_name"
a.password = "your_password"
a.save