0.0.0 • Published 7 years ago

branch-angular v0.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Branch Angular

  • dependencies

    sudo npm i -g @angular/cli yarn
  • code

    git clone git@github.com:BranchMetrics/Branch-Example-Deep-Linking-Branchster-Web.git
    cd Branch-Example-Deep-Linking-Branchster-Web
    npm run create
  • develop

    npm run develop
  • deploy

    npm run deploy
  • production

  • new project (optional)

    • github -> settings -> github pages -> source -> /docs folder
    • travis ci -> add project

    • create

      npm i -g @angular/cli yarn semantic-release-cli
      ng create APP_NAME
      cd APP_NAME
      npm i -D semantic-release validate-commit-msg husky npm-check
      semantic-release-cli setup
      git remote add origin REPO_SOURCE
      git push origin master
    • develop

      ng serve
    • deploy (or push to master)

      ng build --prod --output-path docs --base-href REPO_NAME && git add . && git commit -m 'deploy' && git push origin master
      open https://ethanneff.github.io/branch-angular/