Outlet is a contemporary music platform focused on bringing a rich palette of underground styles to our customers. We deliver you carefully crafted in-house productions made by a close circle of friends and affiliates, which are constantly trying to push genre boundaries to the limit and pricing to the minimum.
On Bandcamp.
Branch | Tests | Code Coverage | Codefactor | Comments |
---|---|---|---|---|
develop |
Work in progress | |||
master |
Latest Production Release |
- Go to project folder and install dependencies:
npm install
- Launch development server, and open
localhost:4200
in your browser:
npm start
Task automation is based on NPM scripts.
Tasks | Description |
---|---|
npm start | Run development server on http://localhost:4200/ |
npm run build [-- --env=prod] | Lint code and build app for production in dist/ folder |
npm test | Run unit tests via Karma in watch mode |
npm run test:ci | Lint code and run unit tests once for continuous integration |
npm run e2e | Run e2e tests using Protractor |
npm run lint | Lint code |
npm run translations:extract | Extract strings from code and templates to src/app/translations/template.json |
npm run docs | Display project documentation |
When building the application, you can specify the target environment using the additional flag --env <name>
(do not
forget to prepend --
to pass arguments to npm scripts).
The default build environment is prod
.
Run npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change
any of the source files.
You should not use ng serve
directly, as it does not use the backend proxy configuration by default.
Run npm run generate -- component <name>
to generate a new component. You can also use
npm run generate -- directive|pipe|service|class|module
.
If you have installed angular-cli globally with npm install -g @angular/cli
,
you can also use the command ng generate
directly.