This project is for Assembly Party's website. It fetcheds the contents from Contentful API and serves them as webpages.
Commits are automatically tested and deployed to server by Travis CI.
This project was generated with Angular CLI version 6.1.2
- download the project
git clone https://github.com/Assembly-WebCrew/contentful-web.git
- (recommended)install Yarn
- make sure you have Angular CLI 6+
yarn global add @angular/cli
ornpm install -g @angular/cli
- run
yarn
ornpm install
inside contentful directory - run
yarn start
ornpm start
- navigate to
http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|module
.
Run yarn build
or npm run build
to build the project(both prod and dev). The build artifacts will be stored in the dist/
directory. Use the build:prod
instead for a production build.
Run yarn test
or npm test
to execute the unit tests via Karma. Test uses Chrome for default.
Run yarn e2e
or npm run e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.