mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Add static target
This commit is contained in:
6
Makefile
6
Makefile
@@ -22,3 +22,9 @@ test:
|
||||
up:
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
||||
|
||||
.PHONY: static
|
||||
static:
|
||||
- rm -rf dist/
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
@@ -31,3 +31,11 @@ cd cmd/ytdl/
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
## Building frontend
|
||||
Node.js and npm are required in order to build the frontend:
|
||||
```bash
|
||||
brew install node
|
||||
make static
|
||||
ls -la dist/
|
||||
```
|
||||
|
||||
384
package-lock.json
generated
384
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user