Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewmcodes-archive/rails_template
Basic Rails Template
https://github.com/andrewmcodes-archive/rails_template
postgres postgresql rails ruby standard standardrb tailwind tailwindcss template
Last synced: 27 days ago
JSON representation
Basic Rails Template
- Host: GitHub
- URL: https://github.com/andrewmcodes-archive/rails_template
- Owner: andrewmcodes-archive
- Created: 2020-02-06T04:11:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-27T05:47:54.000Z (almost 5 years ago)
- Last Synced: 2024-11-08T14:48:57.262Z (3 months ago)
- Topics: postgres, postgresql, rails, ruby, standard, standardrb, tailwind, tailwindcss, template
- Language: Ruby
- Homepage:
- Size: 216 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
# README
My personal Rails starter template that I use for blog posts.
## Install
### Clone the repository
```shell
git clone [email protected]:andrewmcodes/rails_template.git
cd project
```### Update app name
Navigate to `config/application.rb` and change `AndrewmcodesTemplateApp` to whatever the name of your app is.
Do the same in `config/database.yml`
### Dependencies
- Ruby 2.7
- Node 13.7.0
- Rails 6.0.2.1
- Webpacker 4.2.2
- TailwindCSS 1.2.0
- psql (PostgreSQL) 12.1### Install dependencies
Using [Bundler](https://github.com/bundler/bundler) and [Yarn](https://github.com/yarnpkg/yarn):
```shell
bundle && yarn
```### Initialize the database
```shell
bin/setup_db
```## Serve
```shell
rails s
```If you want to run the webpack-dev-server and livereload, run this in another tab:
```shell
bin/guard
```