AD2 HW Checklist
Last updated
Last updated
update .gitpod.yml
with the AD1 .
ensure Ruby version is up to date. (3.0.3)
ensure better errors is whitelisted in config/environments/development.rb
and contains
remove the old whitelist
create .vscode/manage_extensions
if it doesn't exist and contains the following:
Ensure .vscode/manage_extensions
is executable (run chmod 777 .vscode/manage_extensions
).
Ensure .vscode/vscode-rufo-0.0.6.vsix
exists. If it doesn't download it from .
Ensure Dockerfile
is present in the project and w/ correct Ruby version.
Ensure webpacker
is up to date by running rails webpacker:install
Ensure .gitignore
file includes:
Check that bin/server
compiles webpacker correctly in Gitpod— if it does not work, make the following changes:
or rebuild the Docker image with Node version 14.
ensure bin/setup
file includes:
ensure .vscode
folder and .vscode/settings.json
exist and are .
ensure web_git
gem is using the master
branch and not spring2020
.
ensure htmlbeautifier
, rufo
, solargraph
gems have been added to the :development
group.
bundle update
yarn install
rails db:migrate
CRUD a resource to ensure JS works as expected -> rails g scaffold tasks name
ensure you can do the following successfully:
rails s
rails grade
visit /git
Build image
Push to Dockerhub
Update .gitpod.yml
with Docker image name
Push to GitHub branch
Open workspace from branch, ensure Ruby version is correct and gems install instantly
See for more details on building and testing a Docker image.