-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
``` |