Skip to content

Commit

Permalink
Add upload feature info in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdoTR committed Oct 4, 2024
1 parent c78fcf3 commit 72334f5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,17 @@ npm run prod
You can manually upload your map to the map storage by running:

```sh
npm run deploy
npm run upload
```

The 3 important variables that control the upload feature are:

1. `MAP_STORAGE_API_KEY` *(local: created in .env.secret by the upload command / CI: to be added as a Github secret)*
2. `MAP_STORAGE_URL` *(local: created in .env by the upload command / CI: to be added as a Github secret optionally)*
3. `UPLOAD_DIRECTORY` *(local: created in .env by the upload command / CI: to be added as a Github secret optionally)*

Read [the doc](https://docs.workadventu.re/map-building/tiled-editor/publish/wa-hosted) to know more about the upload feature.

## Licenses

This project contains multiple licenses as follows:
Expand Down

0 comments on commit 72334f5

Please sign in to comment.