-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added some readme documentation, and some dev support items for local…
… debugging (#903) * Added some readme documentation, and some dev support items for local debugging * Fix build error * Fix build error take 2 * Sorbet is fun * Update spring.rb More fun with sorbet. * Update spring.rb Even more Sorbet fun
- Loading branch information
Showing
5 changed files
with
44 additions
and
6 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
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
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 |
---|---|---|
@@ -1,3 +1,21 @@ | ||
# Required Software | ||
|
||
| Package | URL / Install command | | ||
|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Postgres 14.5 | [https://www.enterprisedb.com/downloads/postgres-postgresql-downloads](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads) | | ||
| Redis | `brew install redis && brew services restart redis` | | ||
| SFDX | [https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm) | | ||
| Node v14.18.1 | [https://nodejs.org/download/release/latest-v18.x/](https://nodejs.org/download/release/latest-v18.x/) | | ||
| Ruby 2.7.6 | `rbenv install 2.7.6 && rbenv global 2.7.6 && rbenv local 2.7.6` | | ||
|
||
# Environment Setup | ||
|
||
1. From `<project_dir>` run `bundle exec sequel -E -m migrations postgres://postgres:[email protected]:5432/stripeforce` | ||
2. From `<project_dir>` run `bundle exec sequel -E -m migrations postgres://postgres:[email protected]:5432/test_stripeforce` | ||
3. From `<project_dir>/sfdx` run `./bin/generate-cpq-scratch-org $(whoami)-scratch` | ||
4. From `<project_dir>` run `bundle exec ruby scripts/refresh-tokens.rb $(whoami)-scratch` | ||
5. From `<project_dir>` run `bundle exec rails test "test/integration/test_translate_order.rb" -n "/integrates a standard subscription order/"` | ||
|
||
# Installation Links | ||
|
||
Production Package Install: | ||
|
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