Skip to content

chainpool/chainx-scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server

For development

  1. cd packages/server
  2. yarn
  3. node src/index.js

For production

  1. yarn add pm2 global
  2. cd packages/server
  3. yarn
  4. yarn prod

Note: config the database in package/server/config

Client

For development

  1. cd pacakges/site
  2. yarn
  3. echo REACT_APP_SERVER=https://localhost:3001 > .env
  4. yarn start

For production

  1. cd packages/site
  2. yarn
  3. echo REACT_APP_SERVER=https://localhost:3001 > .env
  4. yarn build
  5. Config nginx to the build directory.

Note: For step 3, change the https://localhost:3001 to your api server endpoint.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published