Git Product home page Git Product logo

ionic-site's Introduction

ionic-site

Repo for the ionicframework.com site. To preview local Ionic changes, follow the instructions at the Ionic repo.

gulp watch uses LiveReload. You may have to up your max file limit with the following command:

ulimit -n 7000 

Local Build

  1. Install jekyll (may require sudo): gem install jekyll
  2. Run npm install
  3. Run gulp watch

CI Explanation

Ionic v1 and v2 now automatically deploy their changes to an Ionic staging server. Ionic team members are given permission to the staging and production servers in Heroku. V1 and V2 docs changes go as follows:

  1. Change the content of the docs as necessary.
  2. Optionally preview the changes by running gulp docs in the Ionic v1/2 repo, and gulp watch in ionic site, which should be a sibling directory of the ionic and ionic2 repos.
  3. Commit and push changes
  4. Sit back. The Ionic v1 CI tasks and the Ionic v2 CI tasks will generate the new docs and push them to the ionic-site repo. The ionic-site CI tasks will then build them and automatically deploy them to the staging server.
  5. Preview changes on the staging server and promote the changes to production if all looks well. Be sure to give the site a quick look over to make sure things look good.

Deploy

Install heroku-toolbelt or with homebrew

brew install heroku-toolbelt

Install heroku-pipelines

heroku plugins:install heroku-pipelines

Then log into heroku

heroku login
# enter your email and password when promted

Then add the heroku remotes

git remote add production https://git.heroku.com/ionic-site.git
git remote add staging [email protected]:ionic-site-staging.git

Community

Authors

Max Lynch

Ben Sperry

Adam Bradley

ionic-site's People

Contributors

adamdbradley avatar ajoslin avatar bigtiger avatar brandyscarney avatar contolini avatar drewrygh avatar foxandxss avatar futoricky avatar georgicodes avatar ibes avatar ihadeed avatar ionitron avatar jawinn avatar jgw96 avatar jthoms1 avatar kgindervogel avatar lurnid avatar lwu avatar martinjbaker avatar mhartington avatar mlynch avatar pbernasconi avatar perrygovier avatar rtpharry avatar somethingnew2-0 avatar spieszko avatar splaktar avatar tlancina avatar tonypolik avatar vikashvverma avatar

Watchers

 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.