Ensure you have the Dev Containers VS Code extension installed.
Open the repo in Visual Studio Code. If prompted, click "Open Dev Container." Otherwise, open the command pallete with Ctrl+Shift+P, find and select the option "Dev Containers: Rebuild and Reopen in Container"
rvm
Click here for ArchWiki
postgres
Click here for ArchWiki
git clone git@github.com:bigbrainenergy-llc/api.tdl.app
rvm install 3.0.1
rvm use 3.0.1
gem install rails
bundle install
rails db:create db:migrate db:seed
or to recreate:rails db:drop db:create db:migrate db:seed
rails s
to launch server
- Validate README
- Create guide on correctly configuring PATH using various shells
- Note gnome-terminal deviations from default config (login shell)
- Use UUID and other goodies like inet columns
- Add support for detected breached/weak passwords (have i been pwned)
RAILS_ENV=test rake rswag
- Generates specs from OpenAPI docs
Can't connect to GitHub when fetching dependencies in the devcontainer? Turn off wireguard. (wtf?) If sorcery-rework doesn't download, also try deleting vendor/bundle (clearing gem cache)
fatal: --unshallow on a complete repository does not make sense
Same thing, delete vendor/bundle