arXiv paper submission system
# On linux, Install gcld3 dependencies needed by arxiv-base metadata checks
sudo apt-get install cmake libprotobuf-dev protobuf-compiler
# On mac, you need a version of protobuf <= 21
brew install protobuf@21
# For service account use, to use buckets.
gcloud auth application-default login
pyenv shell 3.11 # or similar
source .venv/bin/activate
uv sync
# Bootstrap the local test DB (also creates test users):
uv run python submit_ce/make_test_db.py bootstrap_db
# Change LOCAL_LOGIN_USER_ID in local_dev.py, as needed.
uv run python local_dev.py
open http://localhost:8000/debug/login./test.sh# Edit local_ui.py:
# Set QA_PUBSUB_ENABLED to True
# shell 1, to run the emulator:
gcloud beta emulators pubsub start --project=arxiv-development
# shell 2 optional, to echo messages:
uv run python local_subscriber.pygcloud auth configure-docker gcr.io # only needed once
docker build . -t gcr.io/arxiv-development/submit-ce/submit-ce-ui
docker push gcr.io/arxiv-development/submit-ce/submit-ce-ui