-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjustfile
34 lines (25 loc) · 789 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
build:
poetry build
pip install .
run:
nix run .
zrok:
zrok share public http://0.0.0.0:13341
zrok_chat:
zrok share public http://0.0.0.0:13394
cert:
openssl req -x509 -newkey rsa:4096 -nodes -out topos/cert.pem -keyout topos/key.pem -days 365
python:
pyi-makespec --onefile main.py
# add ('topos/config.yaml', 'topos/')
pyinstaller main.spec
create-dmg 'dist/main' --overwrite
dmg:
create-dmg topos.app --volicon "topos/assets/topos_blk_rounded.png" --icon "topos/assets/topos_blk_rounded.png"
stoppg:
export PGDATA=$(pwd)/pgdata
echo "Stopping any existing PostgreSQL server..."
pg_ctl -D "$PGDATA" stop || echo "No existing server to stop."
# TESTS
test_update:
poetry run python -m topos.test.topos_updater.test_check_update