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
 
@@ -23,24 +23,27 @@ show/dance2011
 
show/dance2012
 
show/dance2013/build
 
show/dance2014/build/?
 
show/dance2014/music
 
show/.*/spectrogram
 
show/.*/doc
 
stagesim/three.js-master
 
tkdnd
 
node_modules
 

	
 
lib/FlameGraph/
 
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
 
@@ -23,56 +23,56 @@ packages:
 
		normalize-audio \
 
		python3-cairo-dev \
 
		python3-dev \
 
		python3-opencv \
 
		python3-pygame \
 
		python3-tk \
 
		sox \
 
		tix \
 
		zlib1g-dev
 

	
 
gst_packages:
 
	sudo aptitude install -y \
 
		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
 

	
 
push_github:
 
	hg bookmark -r default main && hg push git+ssh://git@github.com/drewp/light9.git
 

	
 
pull_github:
 
	hg pull git+ssh://git@github.com/drewp/light9.git
 

	
 
### show ###
 

	
 
qlc_artnet_dmx_proxy:
 
	qlcplus --open cur/qlc.qxw
 

	
 
no_screen_blanking:

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

0 comments (0 inline, 0 general)