INACTIVE - http://mzl.la/ghe-archive - Open IoT Studio Hub
Перейти к файлу
Gavin Lazar Suntop 105df6f02c initial commit: based off WWL - b433b6706362bdd7158bea42e9d0f550ecb3d938 2016-12-22 10:29:26 -08:00
research initial commit: based off WWL - b433b6706362bdd7158bea42e9d0f550ecb3d938 2016-12-22 10:29:26 -08:00
scripts initial commit: based off WWL - b433b6706362bdd7158bea42e9d0f550ecb3d938 2016-12-22 10:29:26 -08:00
source initial commit: based off WWL - b433b6706362bdd7158bea42e9d0f550ecb3d938 2016-12-22 10:29:26 -08:00
.gitignore initial commit: based off WWL - b433b6706362bdd7158bea42e9d0f550ecb3d938 2016-12-22 10:29:26 -08:00
LICENSE initial commit: based off WWL - b433b6706362bdd7158bea42e9d0f550ecb3d938 2016-12-22 10:29:26 -08:00
README.md initial commit: based off WWL - b433b6706362bdd7158bea42e9d0f550ecb3d938 2016-12-22 10:29:26 -08:00
package.json initial commit: based off WWL - b433b6706362bdd7158bea42e9d0f550ecb3d938 2016-12-22 10:29:26 -08:00

README.md

Open IoT Studio

Build Status Shipping fast with zenHub Uses Mofo Standards

This repository hosts the code used to power the Open IoT Studio hub's website.

Development

Setup

Requirements: Node, npm, git.

Run the following terminal commands to get started:

  • git clone https://github.com/mozilla/openiotstudio.git
  • cd openiotstudio
  • npm start

This will install all dependencies, build the code, start a server at http://127.0.0.1:2040, and launch it in your default browser.

File Structure

.
├── dest <- Compiled code generated from source. Don't edit!
├── scripts <- Scripts run by npm tasks
└── source <- Source code
    ├── images <- Image assets
    ├── index.pug <- Pug/Jade template for index page
    ├── markdown <- Markdown partials
    └── sass <- Sass code

Deployment

Production

Any commits to the master branch on this repo will trigger an automatic build and deploy to GitHub Pages.

Staging

There is currently no common staging environment for this project. However, you can easily deploy a staged build to your own fork using the following command: npm run stage REMOTE. Be sure to substitute REMOTE with the name of your personal remote. Also, be sure not to have npm start or npm server running when you run the staging command.

Once this task completes, your currently checked out branch will be available at:

https://USERNAME_FOR_REMOTE.github.io/openiotstudio

Note: It can take a minute for changes to become available.