forked from fullware/socialactions
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Doug Puchalski
committed
Feb 7, 2011
1 parent
b0403a6
commit 5b7142a
Showing
1 changed file
with
30 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
SocialActions API | ||
|
||
|
||
Deployment notes: | ||
|
||
There is currently no automated deployment, i.e. capistrano. In order to deploy | ||
a new release, use the following steps: | ||
|
||
# Install the new source in a datecoded directory | ||
$ mkdir YYMMDD (replace with datecode) | ||
$ cd YYMMDD | ||
# Extract tar and/or checkout from git | ||
|
||
# Copy config files into new release | ||
$ cp ../current/config/database.yml config | ||
$ cp ../current/config/application.yml config | ||
|
||
# Take down previous version (note this is not a very friendly site take-down, | ||
would be a good idea to use a "under maintenance redirect") | ||
$ cd ../current | ||
$ RAILS_ENV=produciton rake sunspot:solr:stop | ||
$ cd .. | ||
$ rm -f current | ||
|
||
# Bring up new version | ||
$ cd YYMMDD | ||
$ RAILS_ENV=produciton rake sunspot:solr:start | ||
$ cd .. | ||
$ ln -s YYMMDD current | ||
$ sudo apachectl graceful |