Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/predeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
- name: Setup Node.js for use with actions
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Set up Python 3.12
node-version: '24'
- name: Set up Python 3.14
uses: actions/setup-python@v6
with:
python-version: '3.12'
python-version: '3.14'
- name: Run the website
run: ./tools/scripts/run_and_test_website.sh
- name: Update timestamps
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Setup Node.js for use with actions
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Set up Python 3.12
node-version: '24'
- name: Set up Python 3.14
uses: actions/setup-python@v6
with:
python-version: '3.12'
python-version: '3.14'
- name: Run the website
run: ./tools/scripts/run_and_test_website.sh
- name: Remove node modules to avoid linting errors
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sudo pip install virtualenv
2. Create an isolated Python environment, and install dependencies:

```
virtualenv --python python3.12 .venv
virtualenv --python python3.14 .venv
source .venv/bin/activate
pip install -r requirements.txt
```
Expand Down Expand Up @@ -43,14 +43,18 @@ Note: Windows users may need to run `npm run watch` and `python main.py` separat

## Staging

To test changes on a GCP App Engine server without deploying to the production instance, use the staging app at https://httparchive-staging.appspot.com.
(Only available to maintainers)

To test changes on a GCP App Engine server without deploying to the production instance, use the staging app at https://staging-dot-httparchive.uk.r.appspot.com/

```
npm run stage
```

## Deploy

(Only available to maintainers)

To push changes live to the production instance, use the deployment script. Changes will be available on https://httparchive.org.

```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"start": "run-script-os",
"start:darwin:linux": "./tools/scripts/run_and_test_website.sh -d",
"start:win32": "call tools/scripts/run_and_test_website.bat",
"stage": "npm run build && npm run timestamps && npm run generate && echo \"Y\" | gcloud app deploy --project httparchive --no-promote --version=technology-report",
"stage": "npm run build && npm run timestamps && npm run generate && echo \"Y\" | gcloud app deploy --project httparchive --no-promote --version=staging",
"testdeploy": "npm run build && npm run timestamps && npm run generate && echo \"Y\" | gcloud app deploy --project httparchive --no-promote",
"deploy": "./tools/scripts/deploy.sh",
"timestamps": "node ./tools/generate/generate_timestamps",
Expand Down