Compare commits
3 commits
116bd87354
...
1bd92fc729
Author | SHA1 | Date | |
---|---|---|---|
|
1bd92fc729 | ||
|
c4b5c4ee22 | ||
|
62662f0c81 |
3 changed files with 2756 additions and 1 deletions
21
Justfile
Normal file
21
Justfile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Builds a release container
|
||||||
|
[private]
|
||||||
|
build-container-release:
|
||||||
|
podman build -t temposync-server -f container/Containerfile .
|
||||||
|
|
||||||
|
# Builds a release container and runs it
|
||||||
|
start-release: build-container-release remove-podman-containers
|
||||||
|
podman run -d -e DATABASE_URL=sqlite:release.db -p 8080:8080 --name temposync temposync-server
|
||||||
|
|
||||||
|
# Removes and stops any containers related to the project
|
||||||
|
[private]
|
||||||
|
remove-podman-containers:
|
||||||
|
podman container rm -f temposync
|
||||||
|
|
||||||
|
# Cleans up everything related to the project
|
||||||
|
clean: remove-podman-containers
|
||||||
|
podman image rm -f temposync-server
|
||||||
|
rm -rf frontend/dist
|
||||||
|
rm -rf frontend/node_modules
|
||||||
|
cd backend && make clean
|
||||||
|
@echo "Cleaned up!"
|
|
@ -22,7 +22,7 @@ run: build
|
||||||
# Clean target
|
# Clean target
|
||||||
clean:
|
clean:
|
||||||
$(GOCLEAN)
|
$(GOCLEAN)
|
||||||
rm -f bin/server
|
rm -rf bin
|
||||||
rm -f db.sqlite3
|
rm -f db.sqlite3
|
||||||
|
|
||||||
# Test target
|
# Test target
|
||||||
|
|
2734
frontend/package-lock.json
generated
Normal file
2734
frontend/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue