We are excited to welcome new contributors to this project! Please see the contribution guidelines for more info on how to contribute.
To get started, clone this repo taking care to include submodules.
git clone --recurse-submodules git@github.com:sunrise-bay-area/sunrise-bay-area.git # clone over SSH, (recommended).
# git clone --recurse-submodules https://github.com/sunrise-bay-area/sunrise-bay-area.git # clone over HTTPS.
This project uses Hugo and Netlify CMS for development and content management.
Hugo is a static site generator. For Mac users, it can be installed from your command line with:
brew install hugo
For other operating systems, check out the installation instructions here.
Once Hugo is installed, run this command to start the project locally:
hugo server
Visit the site at http://localhost:1313.
Content management is currently provided by Netlify CMS. This allows developers and non-developers alike to manage content in a simple and version-controlled way.
Locally, you can explore Netlify CMS by running the project and visiting /admin.
If you have write-access to this organization, you can edit the content to the live site via sunrisebayarea.org/admin.
We currently host sunrisebayarea.org and sfbay.sunrisemovement.org via Github Pages.
Using Travis, changes to this repo are automatically released upon merging to master.
See the travis config for more info.
From time to time, the submodules used by this project will need to be updated.
To update just the theme (recommended):
git submodule update --remote themes/sunrise-hub
To update everything, run:
git submodule update --remote
If you’re interested in making concurrent changes to this project and a submodule, please (carefully) follow this guide.