GithubHelp home page GithubHelp logo

zamiang / vislet Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 29.24 MB

Small interactive visualizations to help us understand the cities we live in.

Home Page: http://www.vislet.com

CoffeeScript 66.30% CSS 17.13% HTML 11.95% JavaScript 4.62%

vislet's Introduction

Vislet

This is an Ezel project setup to be a static site deployed via gulp to S3. It serves as an example of a workflow for developing static sites that require rich interaction and unique asset packages per page.

Development workflow

To get started:

  • $ npm -g install gulp
  • $ npm install
  • Run the server with $ gulp server
  • In a new tab, run $ gulp watch

./dest contains assets for development

./public contains assets for production

Deploying

To deploy, create an aws.json file like so

{
  "key": "key",
  "secret": "secret",
  "bucket": "www.url.com",
  "region": "us-east-1"
}

Deploy by running gulp deploy. Deploy will:

  1. freshly compile all assets and html files to ./dest
  2. generate asset hash for individual assets
  3. move assets to ./public and rename files to include asset hash
  4. move html files to ./public
  5. update references to assets in *.html
  6. compress assets using uglify
  7. upload assets, images and html to s3

TODO

  • Gulp should run tests
  • auto-deploy on commit via Travis

vislet's People

Contributors

zamiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vislet's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.