Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
teutat3s committed Jul 21, 2023
1 parent 43bc99a commit 02a71c8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion docs/gitclear.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ $EDITOR ansible/roles/webserver/tasks/nginx.yml
# Run the playbook
ansible-playbook provision.yml --inventory ./hosts --become
cd ..
```

## Deploying errbit
Expand All @@ -30,8 +32,22 @@ current remote `main` branch on GitHub to the host defined in
```
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.
`/home/errbit/current` on errbit.gitclear.com and restart `passenger`.

URL: https://errbit.gitclear.com
Login with email `errbit@errbit.gitclear.com` and the password you set for the
`ERRBIT_ADMIN_PASSWORD` environment variable in ansible-vault
`errbit_env_content.yml`.
2 changes: 1 addition & 1 deletion nix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
3. Run the following to enter the `devshell` with all required dependencies
installed.
```
nix develop
nix develop --impure ./nix
```

#### Optional:
Expand Down

0 comments on commit 02a71c8

Please sign in to comment.