-
Notifications
You must be signed in to change notification settings - Fork 1
Setting up Development and Testing Environment
- node.js >= 11.2.0
- npm >= 5.6.0
- angular ^5.0.0
- forever ^0.15.3
- express ^4.16.4
NOTE: DO NOT USE THIS IN PRODUCTION
Must have node.js and npm with the versions stated above. Must also have angular-cli@1.7.4 and forever@0.15.3 installed globally (or compatible versions). NOTE: This means that you should be able to run 'ng' and 'forever' commands directly from console.
- Fork and clone the repository and cd into its root directory
npm install-
npm run devBackend(starts backend allowing the frontend to read the filesystem) -
npm start(starts frontend) - Access portfolio at
localhost:4200
Because forever is used, any changes you make to the backend /backend.js will automatically be applied and the and backend will be automatically restarted. An analogous process also occurs with the frontend.
Any files added to src\assets\portfolio-documents will automatically be reflected in the portfolio's filesystem upon refresh of the browser viewing the site.
See the README.MD to learn how to build the project for production. You might also want to check out the guide for setting it up with Heroku for free.