Skip to content

moreal/9cscan.com

 
 

Repository files navigation

9cscan.com

Nine Chronicles Blockchain Explorer web client project

Getting started

0. Setup first backend project

This project is a frontend project. You need to set up the backend first.

https://github.com/planetarium/9cscan-cloud

Node v16.5

1. Pull this project to local

git clone https://github.com/planetarium/9cscan.com
cd 9cscan.com
npm install

2. Create and fill .env file

You need to create the files below.

.config
.env.localhost
.env.production

.config

{
    # Required. AWS Region
    "region": "",
    # Required. AWS Credentials to upload s3 bucket
    "credentials": {
        "accessKeyId": "",
        "secretAccessKey": ""
    },
    "s3WebBucketName": ""
}

.env.localhost , .env.production

VUE_APP_MODE= [DEVEL | PRODUCTION]
VUE_APP_API_HOST=
VUE_APP_WS_ENDPOINT=
VUE_APP_9C_ASSET_HOST=[S3 WEB ENDPOINT]

The above properties can be found in the 9cscan-cloud/.deploy file.

3. Run local

grunt serve

4. Deploy

grunt deploy 

License

Apache 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 71.6%
  • JavaScript 26.5%
  • HTML 1.6%
  • Shell 0.3%