Monster Movie Review Website
Note - Commands were run using powershell for Windows and Bash for Mac OSX
Nodejs and npm
Install Angular CLI globally on your machine
npm install -g @angular/cli
Install the Firebase CLI globally on your machine
npm install -g firebase-tools
Install project packages
git clone https://github.com/kbeelman/TokuCinema.git
npm install
Start Application and Typescript Transpilation
ng serve
ng serve --env=prod
You should now be able to hit the site at "localhost:4200"
Create a launch.json config file
If there isn't already a launch.json file in the root of the repo in a folder named ".vscode," create one by opening the debug tab in the editor and clicking the gear (settings) icon.
Replace the configurations in that file with the following:
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4200",
"port": 9223,
"sourceMaps": true,
"diagnosticLogging": true,
"webRoot": "${workspaceRoot}/TokuCinema"
// Mac
//"userDataDir": "/Users/joseph.bayes/dummyChrome"
// Windows - just leave "userDataDir" blank
}
]
}
Build & Deploy the project
npm run build-dev
npm run deploy-dev
npm run build-deploy-dev
Commit/Push the changes
Merge master with development
git checkout master
git merge development
Build & Deploy the project
npm run build
npm run deploy
npm run build-deploy
Commit/Push the changes