Coder Social home page Coder Social logo

numbersofindia.github.io's Introduction

Numbers Of India : Website

Sections

  • Newsletter Subscription
  • Stories (Filterable)
  • About + Airtable ToDo List
  • Contact + Social Icons

How to Add a new Story : TL;DR

  • Pull the repo
  • Make sure you're on the 'dev' branch
  • npm install in the root directory
  • In 'stories' folder, make a copy of the 'template-story' sub-folder
  • Rename it to the story name (this will form the url)
  • Add the story (use the js, scss, res, data folders liberally)
  • While developing, to live check the story/viz go to the root directory and run gulp watchstory --story=stories/name-of-story-folder/
  • Once you've done developing, run gulp buildstory --story=stories/name-of-story-folder/ to build the story
  • Add and Commit changes
  • Push to the dev branch by running git push origin dev
  • Push the build subtree to master, to deploy by running git subtree push --prefix build origin master
  • Wait for 2 mins and check the site to make sure everthing's alright

Make changes to the main site : TL;DR

  • Pull the repo
  • Make sure you're on the 'dev' branch
  • npm install in the root directory
  • Make necessary changes (use the js, scss, res, data folders liberally)
  • While developing, to live check the story/viz go to the root directory and run gulp watch
  • Once you've done developing, run gulp to build the story
  • Add and Commit changes
  • Push to the dev branch by running git push origin dev
  • Push the build subtree to master, to deploy by running git subtree push --prefix build origin master
  • Wait for 2 mins and check the site to make sure everthing's alright

numbersofindia.github.io's People

Contributors

nuwandavek avatar

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.