There are three options for setting up the Gulp web client depending on your needs: Production version, Development version, and Deploying a downloadable build on your server.
To set up the production version of gulpui-web
, follow these steps:
Open a terminal and run the following commands:
git clone https://<your-repository-url>/
cd gulpui-web
npm ci
npm run build
Once the build completes successfully, navigate to the /build
directory and launch a local server. You can use LiveServer
or any other static file server.
Open http://localhost:3000
in your browser to access the production build.
For development, you can run gulpui-web
in watch mode, which automatically reloads after any code changes.
Open a terminal and run the following commands:
git clone https://<your-repository-url>/
cd gulpui-web
npm install
npm start
When you modify any files in the /src
directory, the gulpui-web
will automatically reload to reflect changes.
To deploy gulpui-web
on your server, follow these steps:
htdocs
(or equivalent) folder on your web server.If the web client is hosted on a Gulp server, you can access it by navigating to the following address in your browser:
http://<gulp-server-ip>:80/
Make sure to replace <gulp-server-ip>
with the actual IP address of the server hosting the gulpui-web
.
The @
symbol is used as an alias for the root /src
directory. For example:
// instead of:
import { LoginPage } from '../../app/login/page'
// write:
import { LoginPage } from '@/app/login/page'