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:
17
README.md
Normal file
17
README.md
Normal 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
|
Reference in New Issue
Block a user