Skip to content

Dark-Heresy/front-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dark Heresy Front-End

Dark Heresy application for the role-playing game

Downloads Build Status All Contributors commitizen PRs semantic-release Maintainability Test Coverage Netlify Status Coverage Status spectator

This project was generated with Angular CLI version 9.0.3.

Contributing

Check out the Contributing file before helping us.

Development server

Run npm run start to start a local development server.
Navigate to https://dark-heresy:3100/ to check it out.

You need to setup a custom host:

# Dark Heresy Front-End
# Use url => https://dark-heresy:3100
127.0.0.1 dark-heresy

HMR

The Hot Module Replacement is configured so you do not have to reload your browser once your code change.
There is no need to clean out the cache to see the new files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Generate the localhost certificate for HTTPS

Run npm run generate-certificate to create the certificate and the key.
Add the certificate to Windows or iOS to make it trusted by your OS.
You can read this article if you want to learn more about it.

Note that if openssl is not recognized, you can download manually the latest version available Then, extract the content and add it anywhere on the computer
Add the bin path to the Windows environment variable PATH
Run openssl and then write the content of the npm run generate-certificate script

Debug

You can checkout if there is any circular dependency by running the command npm run circular-dependencies-check.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Stats

You can analyze the webpack production bundle size by running the command npm run analyze:stats.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!