Skip to content

Commit

Permalink
Add note for serverless-offline (closes #15)
Browse files Browse the repository at this point in the history
  • Loading branch information
logandk committed Oct 24, 2020
1 parent 9c77d83 commit ad7f971
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ $ sls rack serve -p 8000
When running locally, an environment variable named `IS_OFFLINE` will be set to `True`.
So, if you want to know when the application is running locally, check `ENV["IS_OFFLINE"]`.
For use with the `serverless-offline` plugin, run `sls rack install` prior to `sls offline`.
### Remote command execution
The `rack exec` command lets you execute ruby code remotely:
Expand Down

0 comments on commit ad7f971

Please sign in to comment.