AD1 HW Checklist
AD1 hw checklist
Update files
update
.gitpod.yml
with extensions.ensure Ruby version is up to date. (2.7.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.create
vendor/bundle/.keep
if it doesn't exist.remove
vendor/.keep
if it exists.Ensure
Dockerfile
is present in the project and up to date w/ correct Ruby version.Ensure
.gitignore
file includes:ensure
sqlite
development and test databases are not ignored.ensure
bin/setup
file includes:before
system! "bundle install"
.remove
.theia
folder and contents.ensure
.vscode
folder and.vscode/settings.json
exist and are up to date.ensure
specs_to_readme
gem is installed and update the spec list in theREADME
.
Gems
ensure
web_git
gem is using themaster
branch and notspring2020
.ensure
draft_generators
gem is using themaster
branch and notwinter2020
.ensure
rufo
andhtmlbeautifier
gems have been added to the:development
group.
Testing
bundle update
rails db:migrate
ensure you can do the following successfully:
rails s
rails grade
visit
/git
visit the target app and ensure there are no errors
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