Skip to content

Solutions to Part 3 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
image: jelaniwoods/appdev2023-helper-methods
image: jelaniwoods/appdev2023-rails-template

tasks:
- before: |
sudo cp -r /home/student /home/gitpod
(cd /home/gitpod/student; sudo find . -maxdepth 1 -exec mv {} .. \;)
source ~/.bashrc
sudo chmod 777 /home/gitpod && sudo chown -R gitpod /home/gitpod /home/student
export GEM_HOME=/workspace/.rvm
export GEM_PATH=$GEM_HOME:$GEM_PATH
export PATH=/workspace/.rvm/bin:$PATH
bin/setup
.vscode/manage_extensions
ports:
- port: 3000
onOpen: open-preview
visibility: public
- port: 4567
onOpen: open-preview
visibility: public
- port: 9292
onOpen: open-preview
visibility: public
- port: 5432
onOpen: ignore

Expand All @@ -16,3 +28,5 @@ vscode:
- vortizhe.simple-ruby-erb
- mbessey.vscode-rufo
- aliariff.vscode-erb-beautify
- eamodio.gitlens
- setobiralo.erb-commenter
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"[ruby]": {
"editor.formatOnSave": true
},
"terminal.integrated.defaultProfile.linux": "bash",
"vscode-erb-beautify.keepBlankLines": 1,
"vscode-erb-beautify.bundlerPath": "/home/gitpod/.rvm/ruby-3.0.3/bin/bundler",
"vscode-erb-beautify.useBundler": true,
Expand Down
Loading