Update README.md

This commit is contained in:
Justin Edmund 2023-02-05 23:42:00 -08:00 committed by GitHub
parent 9247e38353
commit 39567fcefd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,24 +1,42 @@
# README # hensei-api
This README would normally document whatever steps are necessary to get the **hensei-api** is the backend for [granblue.team](https://app.granblue.team/), an app for saving and sharing teams for [Granblue Fantasy](https://game.granbluefantasy.jp).
application up and running.
Things you may want to cover: ## Getting Started
* Ruby version **Please note that these instructions are a work-in-progress!**
* System dependencies ### Installing Ruby
* Configuration You'll need to install ruby-3.0.0. We recommend using [RVM](https://rvm.io/) and creating a gemset to manage your Ruby installation.
* Database creation ```
\curl -sSL https://get.rvm.io | bash -s stable
rvm install ruby-3.0.0
rvm use 3.0.0@granblue --create
```
* Database initialization ### Installing dependencies
* How to run the test suite After cloning the repo, install the project dependencies with:
* Services (job queues, cache servers, search engines, etc.) ```
bundle install
```
* Deployment instructions ### Creating the database
* ... Once the dependencies have been installed, you'll need to create and seed the database. Seed data is provided but may not be up-to-date!
```
rails db:create
rails db:migrate
rails db:seed
```
### Running the server
Then, you can start the server with:
```
rails server
```