This is a template repo that should be cloned to start any new AI app project.
It is set up so that you can use an AI tool like CODEX or CURSOR AGENT to write your code, create a PR, and have that PR automatically deployed to a staging environment for testing.
- Get Mike Abner to help you create a new GitHub repository and set up AWS Credentials as Repository Secrets.
- Clone the new repo to your local machine
git clone ... - Run
bundle installto install your dependencies. - Update application.rb line 9 to reflect your applications name
- Update the /app/views/pwa/manifest.json.erb file to reflect your applications name
- Update the database.yml file and replace the
app_part of the database names with your apps name. e.g.app_developmentshould becomehapi_developmentif we were building hapi. - Update the ./scripts/build_and_deploy.sh file and set the
IMAGE_NAMEvariable to the name of the new app - Make sure you have a local PostgreSql instance running (i recommend Postgres.app)
- Run
rails db:setup. You should see a few messages likeCreated database 'app_development'. - Run
rspec. This should run quickly and output0 examples, 0 failures - Run
rails sand when it starts use a browser and openhttp://localhost:3000. You should see a rails intro page. - Set up your new repo in Codex/Cursor Agent so that it can see your code.
- Get Mike Abner to set up an ECR Repository for the new app
- Make your first PR (and make it easy!) so that GitHub will kick off a build and deploy of the app.
- Get Mike Abner to help you set up an app in Porter and database at CrunchyBridge
- Prompt away!