A collaboration to publish government website analytics.
- Install Sass, Bourbon, and Neat:
bundle install
- To watch the Sass source for changes and build the stylesheets automatically, run:
make watch
- To compile the Sass stylesheets once, run:
make clean all
or:
# -B tells make to run even if the .css file exists
make -B
To deploy this app to analytics.phila.gov
, you will need authorized access to the City's Amazon S3 bucket for the project.
If using s3cmd
, the command to deploy the site with a 5 minute cache time is:
s3cmd put --recursive -P --add-header="Cache-Control:max-age=300" *.html images js css s3://analytics.phila.gov/
This deploys index.html
, and the relevant static assets, to the bucket. For now, it sets a cache time of 0, though we may increase this.
This project is in the worldwide public domain. As stated in CONTRIBUTING:
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.