1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Minify scripts, update docker container

This commit is contained in:
Maksym Pavlenko
2017-08-21 23:52:02 -07:00
parent 8ffa3bdb9a
commit 2bd28b4e85
10 changed files with 133 additions and 118 deletions

17
README.md Normal file
View File

@@ -0,0 +1,17 @@
## Handling static files
`ASSETS_PATH` should point to a directory with static files.
For debugging just 'Copy Path' to `assets` directory.
For production run `gulp patch`.
Gulp will generate `dist` directory with minified files and update templates to include these files.
`TEMPLATES_PATH` should just point to `templates` directory.
Docker will run `gulp` and include `dist` and `templates` directories during build as well as specify `ASSETS_PATH` and `TEMPLATES_PATH` environment variables.
## Patreon
In order to login via Patreon the following variables should be configured:
- `PATREON_REDIRECT_URL` should point to `http://yout_host_here/patreon`
- `PATREON_CLIENT_ID` and `PATREON_SECRET` should be copied from https://www.patreon.com/platform/documentation/clients