https://github.com/rousseau-romain/round-timing
https://github.com/rousseau-romain/round-timing
dofus dofusretro optimization pvp-plugin
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rousseau-romain/round-timing
- Owner: rousseau-romain
- Created: 2024-05-31T11:15:11.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T14:51:25.000Z (about 1 year ago)
- Last Synced: 2025-04-08T15:37:09.190Z (about 1 year ago)
- Topics: dofus, dofusretro, optimization, pvp-plugin
- Language: Go
- Homepage: https://round-timing.web-rows.ovh
- Size: 18.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RoundTiming readme
You nedd to have:
- brew
- docker v27.3.1
- docker-compose v2.30.3
- go v1.25.6 (brew install go)
- node v23.2.0 (nvm is better)
- npm 10.9.0
## Run
Create your `.env` based on `env.template` you can run:
```bash
cp .env.template .env
```
Run these commands first(you need the key for the ecryption):
```bash
make db/decrypt
make db_start
make db_init
make db/encrypt
make install
make live
```
Runs the app and looks for changes on `127.0.0.1:7331` for live reload.
## Migrate
### Create migration file
```bash
make migration_create {init_message}
```
### Run migration up
```bash
make migration_up
```
### Run rollback
```bash
make migration_down
```
### Run migration fix
You did a shity make migration up and you need to fix it don't wory do theses steps (for VERSION_NUMBER=18):
```bash
make migration_fix VERSION={VERSION_NUMBER}
make migration_down
```
Now you are in state VERSION_NUMBER - 1.
If your rollback ix the database you can now run:
```bash
make migration_up
```
If not you can debug and fix !
## Deploy
Push to branch staging to deploy on this url https://round-timing-staging.web-rows.ovh/