Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

lawnjunk/ng-template

Repository files navigation

ng template

codefellows-401-javascript starter scaffold for working with angular

Setup

  • Clone and rename this repository
git clone https://github.com/slugbyte/ng-template.git <new-project-name>
  • cd into your new repository
cd  <new-project-name>
  • Create a .env file in your repository
  • this file will not be tracked by git
  • requires NODE_ENV, TITLE, and API_URL
# example .env file
NODE_ENV="dev"
TITLE="Photo Gallery"
API_URL="http://localhost/3000"
  • Install dependencies
npm i
  • Start webpack-dev-server
npm run build-watch
  • Write your app

Setup GitHub

  • Create a new repository on github
  • Over write the origin remote alias in your project
git remote set-url origin <your-github-repository-url>
  • push to git hub
git push origin master