This Rails app is used to power our camps registration system at burn.8bitbunny.com. Our goal is to test it in 2022 and then roll it out as a SasS product for 2023.
- Use Homebrew to install rbenv, PosgreSQL, and other native dependencies:
$ brew install rbenv vips postgresql
- Run the
./bin/setup
script to install gems and NPM dependencies, and create the database.
-
Make sure to disable the Git
autocrlf
option before cloning the repo, otherwise all the files will be full of CRLFs and won't work.PS C:\> git config --global core.autocrlf false
If you've already cloned the repo with CRLFs, it's probably best to delete it and start over.
-
In Visual Studio Code:
- Install Remote - Containers Extension
- Press
Ctrl
+Shift
+P
to open the VS Code command line - Type
Remote-Containers: Open Folder in Container...
- Open the repository folder. The
bin/setup
script will run automatically in the container, installing all gems and creating the database.
Run the following command and open http://localhost:5050/.
$ ./bin/dev
$ git push heroku