Skip to content

Commit f6a7d9e

Browse files
authored
Merge pull request #149 from rickecon/static
Merging
2 parents 757576b + 01dcdbc commit f6a7d9e

118 files changed

Lines changed: 6904 additions & 157 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.env

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/deploy_pages.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Deploy static site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: true
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.12"
28+
29+
- name: Install build dependencies
30+
run: pip install jinja2 markdown
31+
32+
- name: Build static site
33+
run: python build.py
34+
35+
- name: Upload artifact
36+
uses: actions/upload-pages-artifact@v3
37+
with:
38+
path: ./site
39+
40+
deploy:
41+
environment:
42+
name: github-pages
43+
url: ${{ steps.deployment.outputs.page_url }}
44+
runs-on: ubuntu-latest
45+
needs: build
46+
steps:
47+
- name: Deploy to GitHub Pages
48+
id: deployment
49+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 15 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -3,105 +3,25 @@ __pycache__/
33
*.py[cod]
44
*$py.class
55

6-
# C extensions
7-
*.so
8-
96
# Distribution / packaging
10-
.Python
11-
env/
12-
build/
13-
develop-eggs/
14-
dist/
15-
downloads/
16-
eggs/
17-
.eggs/
18-
lib/
19-
lib64/
20-
parts/
21-
sdist/
22-
var/
23-
wheels/
247
*.egg-info/
25-
.installed.cfg
26-
*.egg
27-
28-
# PyInstaller
29-
# Usually these files are written by a python script from a template
30-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31-
*.manifest
32-
*.spec
33-
34-
# Installer logs
35-
pip-log.txt
36-
pip-delete-this-directory.txt
37-
38-
# Unit test / coverage reports
39-
htmlcov/
40-
.tox/
41-
.coverage
42-
.coverage.*
43-
.cache
44-
nosetests.xml
45-
coverage.xml
46-
*.cover
47-
.hypothesis/
48-
49-
# Translations
50-
*.mo
51-
*.pot
52-
53-
# Django stuff:
54-
*.log
55-
local_settings.py
56-
57-
# Flask stuff:
58-
instance/
59-
.webassets-cache
60-
61-
# Scrapy stuff:
62-
.scrapy
63-
64-
# Sphinx documentation
65-
docs/_build/
66-
67-
# PyBuilder
68-
target/
69-
70-
# Jupyter Notebook
71-
.ipynb_checkpoints
72-
73-
# pyenv
74-
.python-version
75-
76-
# celery beat schedule file
77-
celerybeat-schedule
78-
79-
# SageMath parsed files
80-
*.sage.py
81-
82-
# dotenv
83-
.env
8+
dist/
9+
build/
8410

85-
# virtualenv
86-
.venv
11+
# Virtual environments
12+
.venv/
8713
venv/
88-
ENV/
89-
90-
# Spyder project settings
91-
.spyderproject
92-
.spyproject
93-
94-
# Rope project settings
95-
.ropeproject
96-
97-
# mkdocs documentation
98-
/site
99-
100-
# mypy
101-
.mypy_cache/
14+
env/
10215

103-
# Mac stuff
16+
# macOS
10417
.DS_Store
10518

106-
# VS Code stuff
107-
.vscode*
19+
# Generated static site output (built by build.py, deployed via GitHub Actions)
20+
# Keep: site/CNAME, site/.nojekyll
21+
site/*.html
22+
site/about/
23+
site/faq/
24+
site/bootcamp/
25+
site/gallery/
26+
site/tutorials/
27+
site/assets/

MANIFEST.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

Procfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# `oselab`
1+
# `OSElab.org: Open Source Economics Laboratory website`
22

3-
Open Source Economics Laboratory (OSE Lab) Webpage built in [Flask](http://flask.pocoo.org).
3+
This is the repository fo the Open Source Economics Laboratory (OSE Lab) static website, updated through GitHub Actions from the content in this repository. We have archived the old dynamic site source in the `archive-dynamic-2026-04-06` branch of the repository.
44

5-
## Getting started
5+
## Put new cotent here
6+
7+
<!-- ## Getting started
68
79
As a prerequisite, you will need conda installed to help manage your environment.
810
@@ -23,4 +25,4 @@ The app will run locally at `localhost:5000`.
2325
2426
## Running tests
2527
26-
To run the test suite, make sure you have installed the oselab package by running `pip install -e .`. Then run `python oselab/tests/views_test.py` from the repo root.
28+
To run the test suite, make sure you have installed the oselab package by running `pip install -e .`. Then run `python oselab/tests/views_test.py` from the repo root. -->

bin/start

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)