This project was bootstrapped with Create React App.
Before you begin, ensure you have met the following requirements:
- You have installed Node.js and npm. You can install Node.js and npm by following these instructions.
-
Clone the repository to your local machine.
git clone <your-repo-url>
cd <your-repo-directory>
-
Install the dependencies.
npm install
In the project directory, you can run:
Runs the app in development mode.Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.You will also see any lint errors in the console.
Builds the app for production to the build
folder.It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.Your app is ready to be deployed!
See the section about deployment for more information.
To deploy the application, follow these steps:
-
Build the Next.js project.
npm run build
-
Execute the deployment script to build the Next.js standalone project with the public and static folders, and copy the project to the server.
sh deploy.sh
-
Learn how to set up your systemd service by following this guide.
-
Restart the process using systemd.
systemctl restart configuration_interface
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.