Skip to content

nguyenvuhoang/vcoincheck-frontend

Repository files navigation

vCoincheck

_Product power by vKnightHub

vVknightHub

Build Status

vKnightHub - Admin Dashboard

Main Features

  • Home - Dashboard
  • Manager Project (Project type)
  • User Profile
  • Manage Market Info
  • Manage Library
  • Manage Community
  • Manage Events
  • Manage FAQ (Question)

Tech

vKnightHub uses a number of open source projects to work properly:

  • Redux - Redux
  • Bootstrap - Bootstrap
  • SASS - Built in SASS
  • [node.js] - evented I/O for the backend
  • ReactJS - React.js checkout
  • Attractive Calendar
  • Customizable React Bootstrap Components

Installation

vKnightHub requires Node.js v16+ to run.

Install the dependencies and devDependencies and start the server.

cd vcoincheck-frontend
npm i
npm start

For production environments...

npm install --production
NODE_ENV=production node app
npm run build

Development

Want to contribute? Great!

vKnightHub uses Gulp + Webpack for fast developing. Make a change in your file and instantaneously see your updates!

Open your favorite Terminal and run these commands.

First Tab:

node app

Second Tab:

gulp watch

(optional) Third:

karma test

Building for source

For production release:

gulp build --prod

Generating pre-built zip archives for distribution:

gulp build dist --prod

Docker

vKnightHub is very easy to install and deploy in a Docker container.

By default, the Docker will expose port 8080, so change this within the Dockerfile if necessary. When ready, simply use the Dockerfile to build the image.

cd dillinger
docker build -t <youruser>/vknighthub:${package.json.version} .

This will create the dillinger image and pull in the necessary dependencies. Be sure to swap out ${package.json.version} with the actual version of vKnightHub.

Once done, run the Docker image and map the port to whatever you wish on your host. In this example, we simply map port 8000 of the host to port 8080 of the Docker (or whatever port was exposed in the Dockerfile):

docker run -d -p 8000:8080 --restart=always --cap-add=SYS_ADMIN --name=vknighthub <youruser>/vknighthub:${package.json.version}

Note: --capt-add=SYS-ADMIN is required for PDF rendering.

Verify the deployment by navigating to your server address in your preferred browser.

127.0.0.1:8000

License

MIT

Free Software, Hell Yeah!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published