Web application for Verpix.
-
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- 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# TODO: The webapp is not well tested yet. Help please.- Build the webapp in production. The output files are in
public/static/build.
npm run build- Start the webapp. The URL of webapp is http://localhost:8000/.
npm start- Stop the webapp.
npm stop- 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- Javscript: Aribnb Javscript Style Guildine
- React: Aribnb React/JSX Style Guildine