Some useful details about this fork.
cd ansible
echo <ansible-vault-password> > .vault_pass.txt
# Edit hosts file to match your infrastructure
vim ./hosts
# Edit secrets as needed
ansible-vault edit ansible/vars/vaults/errbit_env_content.yml
ansible-vault edit ansible/vars/vaults/mongodb.yml
# Run the playbook
ansible-playbook provision.yml --inventory ./hosts --become
cd ..
First, install ruby version 2.7.6
, e.g. using rvm
or the
provided nix devshell. Then run the following to deploy the
current remote main
branch on GitHub to the host defined in
config/deploy/production.rb
bundle install
cap production deploy
# Only for initial deployment
cap production db:setup
For updates, commit your changes and push them to the main
branch.
Then run:
cap production deploy
This will re-deploy errbit from the remote main
branch in this repository to
/home/errbit/current
on errbit.gitclear.com and restart passenger
.
URL: https://errbit.gitclear.com
Login with email [email protected]
and the password you set for the
ERRBIT_ADMIN_PASSWORD
environment variable in ansible-vault
errbit_env_content.yml
.