Skip to content

Commit

Permalink
Add deployment docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tochev authored and Dragast committed Aug 8, 2024
1 parent 740ae3e commit bbc5c1f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,25 @@ Installation
1. `git clone https://github.com/initlab/fauna.git`
2. Run `bin/setup` and follow the instructions.
3. You can now run the rails server with `bin/rails s` and login.

Deploying a New Version
-----------------------

The deployment is done using `capistrano`.

Initial setup:

```
bundle config set --local path '.bundle'
bundle install
# add your public ssh key in [email protected]:./.ssh/authorized_keys
```

If you need to add/change secrets/config, do so in `~fauna/fauna/shared/config/*.yml` .

Deploy using:

```
bundle exec cap fauna deploy
```

0 comments on commit bbc5c1f

Please sign in to comment.