This technical README explains how to run the project locally, and how to deploy it.
See also the README file of the ScoresProcessor sub-project.
Contents:
When data is updated, it's necessary to update and deploy:
- Update data with the Scores Processor — see the README file there.
- Check the website locally on your machine, and verify that the website and the data are OK.
- Then deploy with:
ng deploy
Note that the deploy process publishes exactly what you have locally, even changes that are not comitted.
For more information, see the angular-cli-ghpages documentation.
You can run the Jamictionary on your local machine.
It can be run from the console or from VS Code.
First, you will need to:
- Install the needed tools — see the section "Installing" below.
- Generate the data using the Scores Processor — check the information on its README file.
Then you can run it with the instructions that follow.
Once the server is running, open your browser and navigate to http://localhost:4200/.
The application automatically reloads whenever you modify any of the source files.
To run the Jamictionary from console:
- Open a terminal;
- run with
ng serve
To run or debug the Jamictionary from VS Code:
- Select the "Run and Debug" tab on the left;
- Choose the option "ng serve" on the dropdown.
- Start debugging with the green
▶️ "Run" button.
These are instructions for your one-time setup.
- Install git.
- Install Angular following the instructions below according to your OS.
- Install angular-cli-ghpages:
npm install -g angular-cli-ghpages
Install Angular:
-
Install HomeBrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install node via brew:
brew install node- To update:
brew upgrade node - To choose a specific LTS version:
brew install node@24
- To update:
-
Install Angular:
npm install -g @angular/cli
You can see the NPM installed packages with npm list -g
Angular CLI has good code scaffolding tools.
For example, to generate a new component run:
ng generate component component-nameFor a complete list of available schematics (such as components, directives, or pipes), run:
ng generate --help