-
-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1319 from scott/dev/2.5/prepare-2.5.0
prepare 2.5 release
- Loading branch information
Showing
3 changed files
with
52 additions
and
1 deletion.
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
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,37 @@ | ||
## UPDATING HELPY | ||
|
||
In the default monolithic configuration, Helpy is a fairly standard Ruby on Rails app. Updating to a new version requires several steps. There are two main places you might want to get updates from: | ||
|
||
1. The `master` branch, which is generally stable but is where most dev work happens and should be considered to be an *edge* version. If you want to get the latest bleeding edge updates, pull from `master` | ||
2. The release branches. Here you can use the `release/stable` or specific version updates: ie `release/2.4.2` or `release/2.5.0` | ||
|
||
Updating the community edition: | ||
|
||
Whether you run the open source community edition or the cloud edition, start by updating the base app: | ||
|
||
1. Get the latest version: | ||
`git pull` | ||
|
||
2. Update bundled gems: | ||
`bundle install` | ||
|
||
3. Run any new migrations, and update the assets: | ||
`RAILS_ENV=production bundle exec rake db:migrate` | ||
`RAILS_ENV=production bundle exec rake assets:precompile` | ||
|
||
4. Restart the webserver. | ||
|
||
### Cloud Edition | ||
|
||
If you are running the cloud edition, perform the following additional steps: | ||
|
||
1. Update the cloud gem. The major version should match the Helpy core major version. | ||
`bundle update helpy_cloud` | ||
|
||
2. Run the cloud installer: | ||
`rails g helpy_cloud:install` | ||
|
||
3. Update assets: | ||
`RAILS_ENV=production bundle exec rake assets:precompile` | ||
|
||
4. Restart webserver |
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