Learn how to install the Gas Web application on your system. This guide is for users who want to set up the Gas Web application to manage their network services and integrations. Follow these steps to get the application running smoothly.
Before you start
- Ensure you have Node.js and npm installed on your system.
- Verify that you have access to a terminal or command line interface.
- Make sure you have internet access to download necessary packages.
Steps to Install Gas Web
-
Open your terminal.
Launch the terminal or command line interface on your computer. -
Clone the Gas Web repository.
Use the following command to clone the repository to your local machine:git clone https://gitlab.com/azanium/gxp/gas-web.git -
Navigate to the project directory.
Change into the directory where the repository was cloned:cd gas-web -
Install dependencies.
Run the following command to install all necessary dependencies:npm install -
Build the application.
Compile the application using the build command:npm run build -
Start the application.
Launch the application with the start command:npm start -
Access the application.
Open a web browser and go tohttp://localhost:3000to access the Gas Web application.
Example Command
Here is a complete command sequence you can use to install and start the Gas Web application:
git clone https://gitlab.com/azanium/gxp/gas-web.git
cd gas-web
npm install
npm run build
npm start
If something goes wrong
-
Error: 'npm' command not found
Ensure that Node.js and npm are installed correctly on your system. You can download them from the Node.js website. -
Build fails with errors
Check the terminal output for specific error messages. Ensure all dependencies are installed and try runningnpm installagain. -
Cannot access the application in the browser
Verify that the application is running without errors in the terminal. Ensure you are using the correct URLhttp://localhost:3000.