1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
Maksym Pavlenko cdc048a98b Add build scripts
2017-08-22 21:40:02 -07:00
2017-08-22 16:18:07 -07:00
2017-08-22 21:40:02 -07:00
2017-08-22 16:22:13 -07:00
2017-08-20 16:01:30 -07:00
2017-08-19 16:58:23 -07:00
2017-08-22 21:40:02 -07:00
2017-08-22 16:22:13 -07:00
2017-08-20 18:35:47 -07:00
2017-08-22 21:40:02 -07:00

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:

Deploy Docker images

Build docker image:

docker build -t ytdl .

Deploy image to Container Registry:

docker tag ytdl gcr.io/pod-sync/ytdl
gcloud auth application-default login
gcloud docker -- push gcr.io/pod-sync/ytdl

or just use build.sh

Description
No description provided
Readme 9.8 MiB
Languages
Go 99%
Makefile 0.6%
Dockerfile 0.4%