STDWeb - web version of STDPipe (Docker)
git clone --depth=1 https://github.com/Astro-Lee/stdweb-docker.gitDownload suitable index files from data.astrometry.net, as introduced in astrometry (also refer to download_index.sh). Map the saved path to the container by referring to docker-compose.yaml.
docker compose up -ddocker exec -it stdweb bashpython manage.py createsuperuser#edit .env
python -c "from django.core.management import utils; print(utils.get_random_secret_key())"#edit stdweb/settings.py
CSRF_TRUSTED_ORIGINS = [ 'https://example.domain.com', ]cd /opt/stdpipe && git pull && python -m pip install -e .
cd /opt/stdweb && git pull && pip install -r requirements.txt \
&& sed -i "/ALLOWED_HOSTS/a\# CSRF_TRUSTED_ORIGINS = [ 'https://example.domain.com', ]" stdweb/settings.py \
&& sed -i "s@redis:\/\/localhost\/@redis:\/\/redis\/@g" stdweb/settings.py \
&& sed -i "s@redis:\/\/127.0.0.1@redis:\/\/redis@g" stdweb/settings.py