An API to help Granblue Fantasy players create and share teams and strategies.
Find a file
2023-03-15 04:36:01 -07:00
app Add Ultimate Mastery 2023-03-15 04:03:25 -07:00
bin Upgrade to rails 7 2023-01-23 01:01:08 -08:00
config Regenerate credentials 2023-02-05 00:07:32 -08:00
db Add full auto toggles to GridCharacter 2023-03-15 04:36:01 -07:00
lib Update download tasks 2023-02-02 02:27:16 -08:00
log Restart on Rails 2020-09-14 18:30:54 -07:00
public Create favicon.ico 2022-02-04 01:10:02 -08:00
spec Run RuboCop on everything 2022-12-21 00:22:47 -08:00
storage Restart on Rails 2020-09-14 18:30:54 -07:00
test Restart on Rails 2020-09-14 18:30:54 -07:00
tmp Restart on Rails 2020-09-14 18:30:54 -07:00
vendor Restart on Rails 2020-09-14 18:30:54 -07:00
.gitignore Regenerate credentials 2023-02-05 00:07:32 -08:00
.ruby-gemset Add ruby-gemset and update Gemfile.lock 2023-01-03 08:05:03 -08:00
.ruby-version Revert to Ruby 3.0.0 2023-01-02 22:07:15 -08:00
.solargraph.yml Create .solargraph.yml 2020-09-25 10:41:23 -07:00
config.ru Restart on Rails 2020-09-14 18:30:54 -07:00
Gemfile Add sprockets to gemfile 2023-01-23 00:53:57 -08:00
Gemfile.lock Upgrade to rails 7 2023-01-23 01:01:08 -08:00
Rakefile Restart on Rails 2020-09-14 18:30:54 -07:00
README.md Update README.md 2023-02-05 23:42:52 -08:00

hensei-api

hensei-api is the backend for granblue.team, an app for saving and sharing teams for Granblue Fantasy.

Please note that these instructions are a work-in-progress!

Installing Ruby

You'll need to install ruby-3.0.0. We recommend using RVM and creating a gemset to manage your Ruby installation. Before proceeding, install the GPG keys from the official RVM website.

\curl -sSL https://get.rvm.io | bash -s stable
rvm install ruby-3.0.0
rvm use 3.0.0@granblue --create

Installing dependencies

After cloning the repo, install the project dependencies with:

bundle install

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