forked from UsergeTeam/Userge
-
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.
Add Gitpod support + do some refactoring on README (UsergeTeam#173)
* [gitpod] Add Gitpod support for support cloud dev environments By adding Gitpod support, Userge devs and contributors will automate the last missing piece in their DevOps pipeline. Users can also fire up a Gitpod workspace just to deploy Userge onto their existing Heroku apps. Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]> * [repo] Do some chores on README. Revamping the setup section and some formatting stuff. Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]> * [readme] Forget to add Gitpod Ready-to-Code badge Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]> * [repo] Update README + Gitpod config file As requested on https://t.me/usergeot/595521, I updated the README to update support chat to @usergeot. Also in this commit, I fix some syntax errors on the script after dependencies are installed. Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]>
- Loading branch information
Andrei Jiroh Eugenio Halili
authored
Oct 14, 2020
1 parent
adaa9bd
commit 8f6919c
Showing
3 changed files
with
46 additions
and
20 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,5 @@ | ||
FROM gitpod/workspace-full | ||
|
||
# Simply install Heroku CLI | ||
# Just in case we use Gitpod for deployment. | ||
RUN curl https://cli-assets.heroku.com/install.sh | - |
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,13 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
tasks: | ||
# Install dependencies first. | ||
- init: pip install -r ./requirements.txt | ||
# Then run if there's config.env, otherwise prompt to configure. | ||
command: > | ||
if [[ -f config.env ]]; then | ||
bash run | ||
else | ||
echo "Please copy the config.env.sample file and edit it to continue." | ||
fi |
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