Changeset - 2088c500415e
[Not reviewed]
default
0 6 1
drewp@bigasterisk.com - 8 months ago 2024-05-13 02:03:41
drewp@bigasterisk.com
pdm & homepage fixes
4 files changed:
Changeset was too big and was cut off... Show full diff anyway
0 comments (0 inline, 0 general)
.hgignore
Show inline comments
 
@@ -35,12 +35,15 @@ lib/pyflame/
 
show/dance..../capture
 
show/dance2017/networking.n3
 
show/dance2019/model/
 
show/dance2019/video/
 
show/dance2023/theater-models
 
timelapse/
 
__pycache__
 
rgbled/build-nano328/
 
__pypackages__
 
work
 
.pytest_cache
 

	
 
src/light9.egg-info/
 
dist/
 
.pdm-python
 
\ No newline at end of file
bin/debug/setWindowTitle
Show inline comments
 
new file 100755
 
#!/bin/zsh
 

	
 
print -Pn "\033]0;custom title\007"
bin/homepage
Show inline comments
 
#!/bin/zsh
 

	
 
CONF=/tmp/light9_nginx.conf
 

	
 
bin/python light9/homepage/write_config.py $CONF
 
pdm run python src/light9/homepage/write_config.py $CONF
 

	
 
pnpm vite -c light9/web/vite.config.ts &
 
pnpm vite -c web/vite.config.ts &
 
/usr/sbin/nginx -c $CONF
 
wait
makefile
Show inline comments
 
@@ -35,32 +35,32 @@ gst_packages:
 
		gir1.2-goocanvas-2.0 \
 
		gir1.2-gst-plugins-base-1.0 \
 
		gir1.2-gstreamer-1.0 \
 
		gstreamer1.0-plugins-good \
 
		gstreamer1.0-pulseaudio \
 
		gstreamer1.0-tools \
 
		libgirepository-1.0-1 \
 
		libgirepository1.0-dev \
 
		python3-gi \
 
		python3-gst-1.0
 

	
 
pnpm:
 
	sudo npm install -g pnpm@7.29.3
 
	sudo npm install -g pnpm@8.12.0
 

	
 
bin/node:
 
	ln -sf `which nodejs` bin/node
 

	
 
pdm_local_install:
 
	# drew has ~/bin in $PATH
 
	pip install "pdm==1.15.0"
 
	pip install "pdm==2.12.4"
 
	ln -s ../.local/bin/pdm ~/bin
 

	
 
js:
 
	pnpm install --reporter append-only
 

	
 
py:
 
	pdm sync
 

	
 
setup: packages gst_packages pnpm js py
 

	
 
deps: js py
 

	

Changeset was too big and was cut off... Show full diff anyway

0 comments (0 inline, 0 general)