The website for the Carnegie Mellon Activities Board Technical Committee
We all have them.
dev and wait for GitHub to build and upload the built artifact (keeps for 90 days, re-run build to get it again)master and it will build again and also push to gh-pagesNote: We do not host the production website with GitHub Pages, but it is a convenient place to keep the latest built version from master. It also provides emergency fallback hosting should it ever be needed.
docker run --rm -it --publish 4000:4000 -v `pwd`:/usr/src/app ghcr.io/abtech/abtech.org:dev bashnpm install --unsafe-perm (will install Ruby and NodeJS dependencies, --unsafe-perm since you are probably root in the container)npm run-script serve (for live development)npm run-script build-prod (for built app placed in _site).ruby-version (for consistency). It is recommended to use rbenv and run rbenv installbundle install.npm install._config.yamlGemfilebundler updateFiles added to the root of the repo will automatically be built. Remove them by adding them to the exclude list in _config.yaml
Ensure JS libraries are browser-ready (no dependencies once built, usually found in a dist folder).
npm install --save <package>node_modules/<package> to the include list in _config.yamlnpm install --save <package>_sass directory (example with how Bootstrap is included)Clone this repo into your workspace. More info coming soon
It's a static website. Throw it on any web server (Apache, Nginx, etc.). Set the 404 page to /404.html.
Just send a pull request! Please contribute to the dev branch.
Code hosted at www-01.abtech.org:/srv/abtech.org
To load changes from server, simply pull (from gh-pages once it is built):
git pull
This website was refreshed by pnaseck in 2021 to use Jekyll. It was previously a Django site, which can be found in the legacy-pre-2021 branch.