This project was begin from angularcli-meteor of Urigo.
And the same: angularcli-meteor of Darkbasic.
- Install NodeJS: https://nodejs.org/en/download/
- Install AngularCLI:
npm install -g @angular/cli
- Install Meteor: https://www.meteor.com/install
- Install Link Shell Extension, if you run this project on Windows.
- First run
npm install
- (Windows only) Recreate symbolic link in
~/api/
for node_module, package.json, package-lock.json from project directory and declarations.d.ts from~/src/declarations.d.ts
by use Link Shell Extension npm run api
- Open other terminal run cmd:
npm run meteor-client:bundle
, and then runnpm run start
- Deploy 'api' (Meteor) directory: https://github.com/hongan126/ftelnotes-api-meteor
- Deploy 'client' (Angular): https://github.com/hongan126/ftelnotes-client-angular-dist
Run meteor
from the api
directory to start the Meteor server.
meteor-client-bundler
is a module bundler which will take a bunch of Atmosphere package and put them into a single module, so we can load Meteor's client scripts regardless of what framework we're using to run our server.
Run ./node_modules/.bin/meteor-client bundle -s api
.
Then run npm run start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
or ng generate component component-name --module app
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory. Use npm run build-prod
for a production build with AOT.
Run npm run test
to execute the unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Protractor.