Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phawk/ruby_open_ai


https://github.com/phawk/ruby_open_ai

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# RapidRuby.com Starter template

This app is a starter template that I use for most of my example apps that I build for my Youtube and Rapid Ruby episodes.

### Core features

- Rails 7
- Hotwire using esbuild
- Tailwind CSS
- User authentication with authentication-zero
- ViewComponent
- RSpec

### Creating a fresh app

The below is customised to my workflow, you may want to skip/tweak a few of the steps. Requires `brew install gh` to create the new repository.

```sh
# Setup commands
cd ~/Sites/youtube
git clone [email protected]:phawk/rapid-ruby-starter.git new_project_name
cd new_project_name
code .
bundle install
yarn install
git remote rm origin
gh repo create new_project_name --public --source=.
git push origin main -u
bin/rails db:create
bin/rails db:migrate && bin/rails db:migrate RAILS_ENV=test
# Create your user account interactively
bin/rails admin:create_user
# Run the server
bin/dev
```

### License

[The MIT License (MIT)](LICENSE.txt)