This is a simulation of my relay computer using angular and SVG. Mainly I'm using it to learn angular, javascript and SVG but this also provides me a way of refining the next part of my relay computer without having to resort to lots of nasty desoldering.
More information on my relay computer can be found at my blog
This project was generated with Angular CLI version 14.2.3.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application 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|guard|interface|enum|module
.
If using a local copy of relay-computer-model you can link npm to it by using npm install --save ../relay-computer-model
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
If the built project will not be hosted at the root url then it can be built as follows, for example, ng build --base-href https://simulator.relaycomputer.co.uk
Once built the app can be deployed to the Github Pages branch with
npx angular-cli-ghpages --dir=dist --cname=simulator.relaycomputer.co.uk
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.