-
Notifications
You must be signed in to change notification settings - Fork 7
Setting up a development environment
Jon Andre Briones edited this page Jul 26, 2025
·
11 revisions
You will need:
- SSH Keys
- You'll need these to access git in the preferred way, through SSH
- Follow this on how to do it
-
git
: latest versions work fine, I have never encountered issues with versions of git before- To interact with the repo
-
node
: 22.X- To install the dependencies of the project
- You may want to use Node Version Manager
nvm
to manage your Node version, in case you're working on other Node projects
-
npm
: 10.9.X - The Angular CLI: 20.X.X
- This is used to generate all the components, services, directives, etc. in Angular.
- Invoke commands with
ng <command>
- You need to install it globally (
-g
) so that you can use it without npm
npm install -g @angular/cli
Angular CLI Analytics
If you're prompted to install analytics, it's up to you if you want to say yes or not. You may work on other projects that want that. For this project we will not be using it, so just make sure you're not committing the analytics section in `angular.json`.- If you're not on the W3 committee you won't be able to submit changes to the main repo. You will need to fork it first.

- Clone the repo (use SSH):
git clone [email protected]:CSSS/csss-site-frontend.git # if you forked the repo use your forked URL
- Install the dependencies:
npm install
- Start the frontend server:
npm run start // will run some pre-build scripts
or
ng serve // only works after building
- Access the site on your browser at
localhost:8080
. You're all done!
- You can serve the website over your local network, so you can test it on a different device. Run the following command:
ng serve --host=0.0.0.0
and then you can access the site on a device on the same network at http://<IP of hosting device>:8080