Skip to content

TopPano/verpixplus-web-app

Repository files navigation

verpixplus-web-app

Web application for Verpix.

Development and Build

Prerequisites

  • Install Node.js.

  • Clone the project to your file system:

git clone https://github.com/TopPano/verpixplus-web-app
  • Go into the project directory
cd ./verpixplus-web-app
  • Install dependencies
npm install
npm install -g pm2
sudo apt-get install libfontconfig

Development

  • Run in development mode that will hot re-build the webapp when you modify source files. The URL of webapp is http://localhost:8000/.
npm run dev

Test

# TODO: The webapp is not well tested yet. Help please.

Build

  • Build the webapp in production. The output files are in public/static/build.
npm run build
npm start
  • Stop the webapp.
npm stop

As a Docker service

  • Build an image.
docker build --build-arg API_ROOT=http://$Domain_name/api STATIC_URL=http://$Domain_name ./
  • Create a container.
docker create -p 8000:8000 $imageId
  • Start the container
docker start $containerId

Contributing

Coding Style Guildline

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •