Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added instructions for updating frame data #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ DB_HOST(Optional, defaults to "localhost")
DB_PORT(Optional, defaults to "3306")
```

## Updating Frame Data
When frame data updates in the `harounb` repo, we need to pull down the latest version and restart the server. The frame data files are stored as json in a submodule and then injected into mysql via an update script.

1. Grab the latest data from the repo

````
git submodule update --recursive --remote
npm update
````

2. Update the timestamp for UPDATE TC_Characters SET 'last_updated' = <somebignumber> WHERE id=2

This will bump Alisa's timestamp to a new number (somebignumber) which will also bump the overall version and cause the app to pull down new info the next time it loads.

## API Requests

### Metadata Request
Expand Down