mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 05:52:17 +00:00
prepare-virtualenv, cleaning
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -19,5 +19,5 @@ venv
|
|||||||
|
|
||||||
|
|
||||||
/pnpm-lock.yaml
|
/pnpm-lock.yaml
|
||||||
/deploy-all.sh
|
|
||||||
/deploy-cron.sh
|
/deploy-*.sh
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
export ENV=prod
|
|
||||||
|
|
||||||
./init-server.py http-host-sync ofm-h-fi-1 -y
|
|
||||||
./init-server.py http-host-sync ofm-h-de-2 -y
|
|
||||||
|
|
||||||
@@ -1,19 +1,21 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
find . -name "*.egg-info" -exec rm -rf {} +
|
find . -name '*.egg-info' -type d -prune -exec rm -rf {} +
|
||||||
find . -name __pycache__ -exec rm -rf {} +
|
find . -name '*.pyc' -delete
|
||||||
|
find . -name __pycache__ -type d -prune -exec rm -rf {} +
|
||||||
# deactivate
|
find . -name .DS_Store -delete
|
||||||
rm -rf venv
|
find . -name .ipynb_checkpoints -exec rm -rf {} +
|
||||||
python3 -m venv venv
|
find . -name .pytest_cache -exec rm -rf {} +
|
||||||
source venv/bin/activate
|
find . -name .ruff_cache -exec rm -rf {} +
|
||||||
|
find . -name .venv -type d -prune -exec rm -rf {} +
|
||||||
pip install -U pip wheel setuptools
|
find . -name venv -type d -prune -exec rm -rf {} +
|
||||||
|
|
||||||
pip install -e .
|
|
||||||
pip install -e modules/http_host
|
|
||||||
pip install -e modules/tile_gen
|
|
||||||
pip install -e modules/loadbalancer
|
|
||||||
|
|
||||||
|
|
||||||
|
uv venv --python=3.12
|
||||||
|
source .venv/bin/activate
|
||||||
|
|
||||||
|
|
||||||
|
uv pip install -e .
|
||||||
|
uv pip install -e modules/http_host
|
||||||
|
uv pip install -e modules/tile_gen
|
||||||
|
uv pip install -e modules/loadbalancer
|
||||||
|
|||||||
Reference in New Issue
Block a user