Jekyll website for Aerospace Controls Laboratory at MIT.
We build the static site locally and then push it to the gh-pages
branch for hosting. This requires you clone the repository and _site
folder correctly.
git clone [email protected]:mit-acl/mit-acl.github.io.git
cd mit-acl.github.io.git
git clone -b gh-pages `git config remote.origin.url` _site
- Update bibliography repo and commit/push any changes
- Do not edit the contents of the
_bibliography
directory in this repo. The directory is pulled down fresh from the bibliography repo on each build. Thus, edits should be made and committed directly to that repo separately.
- Do not edit the contents of the
- Build and commit the static site into
_site
with bash and Docker:./build_and_deploy.bash
- Check the deployment status here
- Check the website at: https://mit-acl.github.io/
If you don't want to install Docker, you can manually build, commit, and push:
- Update the
_bibliography
submodule with:git submodule update --remote
- Commit your changes to the source repo (i.e.
mit-acl.github.io
) - Build the static site into
_site
with your local Jekyll installation:bundle exec jekyll build
- Commit your build to the
gh-pages
branch (i.e. inside_site
) - Check the deployment status here
- Check the website at: https://mit-acl.github.io/
If you're a new student, you need to be added to the website. Reach out to the current ACL webmaster via Slack and provide the following:
- A headshot (i.e.
.jpg
or.png
) - Markdown providing your information. (See this example.) Alternatively, if you're comfortable with GitHub/GitHub pages, you're welcome to make the changes yourself and submit a pull request.
- Citations are stored in this repo.
- Static site builds are stored on this branch.
- Derived from the old private website repo. (Didn't fork because of the LFS files committed directly to the old repo.)