Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/euxx/rails_skeleton

Rails 6/7 skeleton
https://github.com/euxx/rails_skeleton

rails-skeleton rails-template rails6 rails7 skeleton template

Last synced: 1 day ago
JSON representation

Rails 6/7 skeleton

Awesome Lists containing this project

README

        

# Rails skeleton

[![Github Actions](https://github.com/euxx/rails_skeleton/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/euxx/rails_skeleton/actions/workflows/ci.yml)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/eff349d9f6a742d7bfa1f7fb8a4a3a4f)](https://www.codacy.com/manual/eux/rails_skeleton/dashboard)

Rails skeleton with Ruby 3 and Rails 7

In favor of

- [PostgreSQL](https://github.com/ged/ruby-pg)
- [esbuild](https://github.com/evanw/esbuild)
- [Turbo](https://github.com/hotwired/stimulus-rails)
- [Stimulus](https://github.com/hotwired/turbo-rails)
- [Rails Credentials](https://edgeguides.rubyonrails.org/security.html#custom-credentials)
- [Active Storage](https://edgeguides.rubyonrails.org/active_storage_overview.html)
- [Bootstrap](https://github.com/twbs/bootstrap)
- [FontAwesome](https://github.com/FortAwesome/font-awesome-sass)
- [Authlogic](https://github.com/binarylogic/authlogic)
- [Sidekiq](https://github.com/mperham/sidekiq)

In favor of services

- [Github Actions](https://github.com/features/actions) for CI
- [Codacy](https://www.codacy.com) for code quality
- [Skylight](https://www.skylight.io) for performance monitoring
- [Sentry](https://sentry.io) for error tracking

## Getting Started

```sh
$ bin/setup app_name=your_app_name
$ rails test:all
$ rails s
```

## Edit Things

- Rename the repository to your_app_name

- Setup credentials by following
[config/credentials.guide.md](https://github.com/euxx/rails_skeleton/blob/master/config/credentials.guide.md)

- Add necessary API keys by following
[config/credentials.yml.sample](https://github.com/euxx/rails_skeleton/blob/master/config/credentials.yml.sample)

- Set `TAG_ENV` environment variable to specific server environment like 'production' (default is 'staging') for Sentry and Skylight

- Edit `title`, `keywords` and `description` at HTML Head in
`app/views/layouts/application.html.erb`

- Replace `app/assets/images/favicon.png` with yours

- Custom errors page in `app/views/errors/`

- Update README

## Tips

- There's a helper `icon(style, name, text = nil, html_options = {})`
to generate Font Awesome icons