If you do not have prior experience, please see the Wiki page for prerequisites. This is the official website for EarthPol, built using Docusaurus, a modern static site generator.
First, clone the repository to your local machine. Then, use the cd command to navigate into the directory where it was cloned.
git clone https://github.com/EarthPol/earthpol.com.git
cd earthpol.com
To start the Docusaurus development server:
npm run start
This will launch a local server at http://localhost:3000/, automatically opening a browser window. Most changes will be reflected live without restarting the server.
To generate the static files:
npm run build
This will create a build directory containing the static files, which can be hosted using any static file hosting service.
- If you encounter issues with dependencies, try running
npm cache clean --forceand reinstalling (npm install). - For more details, check out the Docusaurus documentation.