This guide will walk you through setting up and running the project locally on your machine. Please follow the steps below:
Download the project repository to your local machine. You can do this by either cloning the repository using Git or by downloading it as a ZIP file and extracting it.
Parcel is a web application bundler that helps to bundle the project's assets. Follow these steps to install Parcel globally on your machine:
npm install parcel -gOnce you have the project files on your machine, navigate to the project directory in your terminal or command prompt. Then, install the project dependencies by running:
npm installThis command will install all the necessary dependencies required for the project to run. Make sure you have Node.js and npm installed on your machine before running this command.
To start the development server and bundle the project files, run the following command:
npx parcel ./src/index.htmlThis command will start the Parcel bundler and serve your project on a local development server.
Once Parcel has bundled the project and the development server is running, you can access the project by either:
- Ctrl + left-click on the address generated in the command line.
- Open your preferred web browser and copy-paste the following address: http://localhost:1234
You are all set up and ready to explore the project. Enjoy your coding journey!
If you encounter any issues or have any questions, feel free to reach out for assistance.
Happy coding!