You only need Node.js and npm installed in your environment for development purposes.
- Update package lists:
sudo apt update
- Install Node.js and npm:
sudo apt install nodejs npm
- Verify the installation:
$ node -v $ npm -v
- Visit the official Node.js website and Download the recommended LTS version for Windows.
- Run the Installer.
- Accept the license agreement and click "Next".
- Choose Installation Options:
- Choose the destination folder where Node.js will be installed. The default location is usually fine for most users.
- Select the features you want to install. Keeping the default options, including npm (Node Package Manager) is recommended.
- Complete the Installation.
- Verify Installation:
- Run the following commands:
$ node -v $ npm -v
- Run the following commands:
Important
You should have Node.js version 21.3.0 and npm version 10.2.4 installed at the least.
$ git clone https://github.com/Studying-Workspace/Cloud-Tracker-Frontend.git
$ cd Cloud-Tracker-Frontend
$ npm install
Note
You should run npm install
after pulling changes or switching branches.
npm run dev
We are running on localhost port 5731.
Press 'o' + Enter to open in the browser.
Press 'q' + Enter to quit.
npm test dev