Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

victorvat/redchain

Repository files navigation

redchain

/* ---------------------------- */

/* The Red Chain project */

/* ---------------------------- */

Steps to make redchain working:

  1. Download the source code from github

  2. Install required packages

    npm install

2.2 Configure project

----- config.ini exaple ----- [database] connectionString = postgres://postgres@localhost/redchain [security] secretKey = 12345 expiresIn = 3600

  1. Test the project (Control-C to cancel)

    npm start

  2. If the project still not working install next packages manually:

    npm install pg-promise --save

    npm install bluebird --save

    npm install ini --save

  3. Install postgres

  4. Run the crebas.sql and create the database.

    psql -f crebas.sql

  5. For SSL You need to generate certificates:

    cd bin

    openssl genrsa 1024 > private.key

    openssl req -new -key private.key -out cert.csr

    openssl x509 -req -in cert.csr -signkey private.key -out certificate.pem

  6. Start project

    cd ..

    npm start

About

The Red Chain project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages