codefellows-401-javascript starter scaffold for working with angular
- 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
, andAPI_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
- 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