Skip to content

Commit

Permalink
Merge pull request #219 from open5e/staging
Browse files Browse the repository at this point in the history
Release to prod
  • Loading branch information
eepMoody authored May 13, 2023
2 parents 6ac3ed4 + 028a4a0 commit 5b3b130
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ cd open5e-api/
docker-compose up
```

## Deploying on Railway.app
1. Create a fork on Github.com This is used to automatically deploy when you make a change.
2. Login with your Github account on [Railway.app](https://railway.app) and give it access to manage your forked repository.
3. Create a new Project and choose 'Deploy from GitHub repo'. Select your fork in the list.
4. Keep all settings default and deploy. Accept when Railway asks to copy variables existing variables from the repository.
5. Add the variable `PORT` with the value `8888`.
6. Add the variable `SERVER_NAME` with the [Railway-provided domain](https://docs.railway.app/deploy/exposing-your-app#railway-provided-domain) or add your own.
7. Push a commit to Github and watch your open5e-api redeploy in minutes!

## Building the OAS file

Once you have everything set up, run `pipenv run ./manage.py generateschema --generator_class api.schema_generator.Open5eSchemaGenerator > openapi-schema.yml` to build the OAS file.
2 changes: 1 addition & 1 deletion data/WOTC_5e_SRD_v5.1/magicitems.json
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@
},
{
"name": "Robe of Useful Items",
"desc": "This robe has cloth patches of various shapes and colors covering it. While wearing the robe, you can use an action to detach one of the patches, causing it to become the object or creature it represents. Once the last patch is removed, the robe becomes an ordinary garment.\n\nThe robe has two of each of the following patches:\n\n* Dagger\n* Bullseye lantern (filled and lit)\n* Steel mirror\n* 10-foot pole\n* Hempen rope (50 feet, coiled)\n* Sack\n\nIn addition, the robe has 4d4 other patches. The GM chooses the patches or determines them randomly.\n\n| d100 | Patch |\n|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 01-08 | Bag of 100 gp |\n| 09-15 | Silver coffer (1 foot long, 6 inches wide and deep) worth 500 gp |\n| 16-22 | Iron door (up to 10 feet wide and 10 feet high, barred on one side of your choice), which you can place in an opening you can reach; it conforms to fit the opening, attaching and hinging itself |\n| 23-30 | 10 gems worth 100 gp each |\n| 31-44 | Wooden ladder (24 feet long) 45-51 A riding horse with saddle bags |\n| 52-59 | Pit (a cube 10 feet on a side), which you can place on the ground within 10 feet of you |\n| 60-68 | 4 potions of healing |\n| 69-75 | Rowboat (12 feet long) |\n| 76-83 | Spell scroll containing one spell of 1st to 3rd level |\n| 84-90 | 2 mastiffs |\n| 91-96 | Window (2 feet by 4 feet, up to 2 feet deep), which you can place on a vertical surface you can reach |\n| 97-100 | Portable ram |",
"desc": "This robe has cloth patches of various shapes and colors covering it. While wearing the robe, you can use an action to detach one of the patches, causing it to become the object or creature it represents. Once the last patch is removed, the robe becomes an ordinary garment.\n\nThe robe has two of each of the following patches:\n\n* Dagger\n* Bullseye lantern (filled and lit)\n* Steel mirror\n* 10-foot pole\n* Hempen rope (50 feet, coiled)\n* Sack\n\nIn addition, the robe has 4d4 other patches. The GM chooses the patches or determines them randomly.\n\n| d100 | Patch |\n|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 01-08 | Bag of 100 gp |\n| 09-15 | Silver coffer (1 foot long, 6 inches wide and deep) worth 500 gp |\n| 16-22 | Iron door (up to 10 feet wide and 10 feet high, barred on one side of your choice), which you can place in an opening you can reach; it conforms to fit the opening, attaching and hinging itself |\n| 23-30 | 10 gems worth 100 gp each |\n| 31-44 | Wooden ladder (24 feet long) |\n| 45-51 | A riding horse with saddle bags |\n| 52-59 | Pit (a cube 10 feet on a side), which you can place on the ground within 10 feet of you |\n| 60-68 | 4 potions of healing |\n| 69-75 | Rowboat (12 feet long) |\n| 76-83 | Spell scroll containing one spell of 1st to 3rd level |\n| 84-90 | 2 mastiffs |\n| 91-96 | Window (2 feet by 4 feet, up to 2 feet deep), which you can place on a vertical surface you can reach |\n| 97-100 | Portable ram |",
"type": "Wondrous item",
"rarity": "uncommon"
},
Expand Down
2 changes: 1 addition & 1 deletion data/menagerie/monsters.json
Original file line number Diff line number Diff line change
Expand Up @@ -37833,7 +37833,7 @@
"alignment": "",
"armor_class": 25,
"armor_desc": "",
"hit_points": 1,
"hit_points": 1230,
"hit_dice": "60d20+600",
"speed": {
"walk": "60 ft.",
Expand Down

0 comments on commit 5b3b130

Please sign in to comment.