Revolution for Arboreum Website
This project uses yarn. Install it as described here https://yarnpkg.com/lang/en/ if you haven't already.
To install this project, simply clone the repo and run yarn;
e.g.
git clone https://github.com/ArboreumDev/website2.git
cd website2
yarn
This will install all the dependencies for the project locally.
You can also use npm. Install it as described here https://www.npmjs.com/get-npm, if you dont have it already.
To install this project, simply clone the repo and run npm install;
e.g.
git clone https://github.com/ArboreumDev/website2.git
cd website2
npm install
This will install all the dependencies for the project locally.
In the project directory, you can run:
(if using yarn)
or
(if using npm)
Runs the app in the development mode. Open http://localhost:5173 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
The website has a continuous integration using netlify. Any changes that are pushed to the main branch will automatically be deployed to the production.
To do any edit to the website first install the website locally. Do the changes locally and test it locally using yarn dev. Once you are the satified with the changes and there are no bugs or errors push the changes to master branch and the wbesite (with the changes will be deployed automatically)
First add all the untracked and modified file to the staging area. For that you can run:
This will add all the untracked files to staging. You can add individual files to the stging area by using:
For example git add file1.js image.png index.html to add only file1.js, image.png and index.html to the staging area
Then you will have to commit all the changes to local branch using:
Commit message helps in tracking the changes in the project which can be useful when working in a team.
You can also combine the add and commit step using:
Now you are ready to push the commits to master. For that you can use: