-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Change the docker-compose to make non-reloading be the default (for easy start) - Add the branch to the config to make it easier to test out different branches - Add a `README` to clarify how everything works
- Loading branch information
Showing
3 changed files
with
36 additions
and
5 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,22 @@ | ||
This is an example of setting up a server for the devapp. You can use it over | ||
use case scenarios: | ||
- deploy the code from a particular branch, or | ||
- mount the source from a directory on the host to allow for local editing. | ||
|
||
#### Just deploy the code for exploration #### | ||
|
||
Use without any changes. The code will be checked out to the container, and | ||
will be removed when the container is removed. | ||
|
||
#### Deploy the container for editing #### | ||
|
||
- Include the currently commented out volume | ||
- Look through all the `CHANGEME` locations and fill them out. | ||
``` | ||
$ grep -r CHANGEME . | ||
``` | ||
Some of these are required; others are optional. | ||
- The code will be mounted to a directory on your host | ||
- Edit the code on the host for auto-reload | ||
- Restarting the container will retain changes from previous runs | ||
- If you run into issues - check in your pending changes, remove the host directory and restart, which will check out the repo and set everything up again |
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