AD2 HW Checklist
AD2 hw checklist
Update files
update
.gitpod.yml
with the AD1 extensions.ensure Ruby version is up to date. (3.0.3)
ensure better errors is whitelisted in
config/environments/development.rb
and containsremove the old whitelist
create
.vscode/manage_extensions
if it doesn't exist and contains the following:Ensure
.vscode/manage_extensions
is executable (runchmod 777 .vscode/manage_extensions
).Ensure
.vscode/vscode-rufo-0.0.6.vsix
exists. If it doesn't download it from here.Ensure
Dockerfile
is present in the project and up to date w/ correct Ruby version.Ensure
webpacker
is up to date by runningrails 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 up to date.
Gems
ensure
web_git
gem is using themaster
branch and notspring2020
.ensure
htmlbeautifier
,rufo
,solargraph
gems have been added to the:development
group.
Testing
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
Update Docker image
Build image
Push to Dockerhub
Update
.gitpod.yml
with Docker image namePush to GitHub branch
Open workspace from branch, ensure Ruby version is correct and gems install instantly
See Adding Dependencies to a Project for more details on building and testing a Docker image.
Last updated