Skip to content

Commit

Permalink
🐛 FIX: fix #24
Browse files Browse the repository at this point in the history
  • Loading branch information
apolopena committed Feb 6, 2021
1 parent f7b83c9 commit 2d9a44b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ tasks:
bash bash/init-gitpod.sh &&
source ~/.bash_profile &&
url=$(gp url 8000); sed -i'' "s#^APP_URL=http://localhost*#APP_URL=$url\nASSET_URL=$url#g" .env &&
bash bash/init-optional-scaffolding.sh
bash bash/init-optional-scaffolding.sh &&
bash bash/init-complete.ah
name: Init
- openMode: split-left
command: |
Expand Down
11 changes: 11 additions & 0 deletions bash/init-complete.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

$workspace_log="/var/log/workspace-init.log"
$init_log="/var/log/workspace-init.log"
echo -e "\nALL DONE\n"
sleep 3
echo "Results of building the workspace image $workspace_log"
cat $workspace_log
echo ''
echo "Showing a summary of key initialization actions taken. This data can be found here: $init_log\n"
cat $log_file | less
5 changes: 0 additions & 5 deletions bash/init-gitpod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ log_silent () {

# Bootstrap scaffolding
if [ ! -d "$GITPOD_REPO_ROOT/bootstrap" ]; then
echo "Results of building the workspace image ➥"
cat /var/log/workspace-image.log
# Todo replacespinner with a real progress bar for coreutils
msg="\nMoving Laravel project from ~/temp-app to $GITPOD_REPO_ROOT"
log_silent "$msg" && start_spinner "$msg"
Expand Down Expand Up @@ -88,6 +86,3 @@ echo "try: git a or: git aliases for a list your git aliases.\n"
log "You may auto generate a CHANGELOG.md from github commits by running the command:\nrake changelog [...options]\n" &&
echo "See starter.ini (github_changelog_generator section) for configurable options" &&
echo "For a full list of options see the github-changelog-generator repository on github"

# Init complete message
log "\nALL DONE\nIf the above results are successful then make sure to add, commit and push the changes to your git repository."

0 comments on commit 2d9a44b

Please sign in to comment.