Skip to content

unl/analytics.phila.gov

 
 

Repository files navigation

Public analytics

A collaboration to publish government website analytics.

Building the Stylesheets

  • 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

Deploying the app

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.

Public domain

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.

About

Static, public frontend to display City government web analytics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 61.5%
  • JavaScript 20.2%
  • HTML 17.9%
  • Other 0.4%