No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
settings
static
tasks
templates
.gitignore
.jshintrc
Gruntfile.js
README.md
__init__.py
app.py
build.py
main.py
package.json
project.json
project.py
requirements.txt

README.md

top100-2017

Includes:

  • Livereload for fast development
  • Grunt tasks for serving application
  • Jinja2 for sane templating
  • Frozen-Flask for creating static projects

Requirements

  • Python 2.7.x
  • Node.js 0.12+
  • Grunt (npm install -g grunt-cli)

Installation

$ git clone git@github.com:sfchronicle/top100-2017.git top100-2017
$ cd top100-2017
$ mkvirtualenv top100-2017
$ pip install -r requirements.txt && npm install

Running Project

Building Files

Deployment

Build and deployment

Now run build.py and specify if its for production or staging to compress assets for upload.

$ python build.py production

Contributing

  1. Fork it.
  2. Create a branch (git checkout -b username-patch-n)
  3. Commit your changes (git commit -am "Added support for MovableType")
  4. Push to the branch (git push origin username-patch-n)
  5. Open a Pull Request
  6. Enjoy some artisanal toast

License

The MIT License (MIT)

Copyright The San Francisco Chronicle

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.