Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 728 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 728 Bytes

Ha4db ansible

Install dependency and setup everything for ha4db.

How to use

  1. Setup instance via ha4db-ec2 or setup ubuntu 20.04 instance.
  2. Setup ansible if you need.
  3. Run ansible-playbook
ansible-playbook ha4db.yml

Create Administrator user

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