If you're in Icelab and have access to the private berg-assets repository:
Adding sample data
Running the app
foreman start -f Procfile.dev
The public designs for this site are contained in a separate, private
berg-assets repository. If you’re working on Berg within Icelab, you should have a copy of this repository checked out at
app/main/assets. You can make changes within that directory and push them up as you would with any ordinary git repo.
To prepare the site to deploy with updated assets, get the latest commit from berg-assets and save it in
apps/main/.assets-commit. For example, to save the most recent commit in your
apps/main/assets working directory:
(pushd apps/main/assets; git rev-parse HEAD; popd) > apps/main/.assets-commit
The sitemap_generator gem is used to generate sitemaps.
To create the sitemap and upload it to S3:
To refresh the sitemap and ping search engines:
Deployment to Heroku requires the following buildpacks:
GITHUB_AUTH_TOKEN config must be set with a token that is authorized to clone the berg-assets repository.
apps/main/.assets-commit must exist with a valid commit SHA for the berg-assets repository.