Skip to content

rumsystem/nft-bbs

Repository files navigation

Port

Port is a forum-like application base on quorum.
Online Site: https://port.base.one/

Quick Start: run in docker

Install docker and docker-compose

# Clone this repo
git clone [email protected]:rumsystem/nft-bbs.git
cd rum-port
PORT=80 # Optional. Otherwise using fallback port 35572 defined in docker-compose.yml
docker-compose up -d

Custom Configuration

Make a copy of the sample config file and modify it, then restart the application

cd rum-port/packages/server
cp config.sample.yml config.yml
vi config.yml

Dev Dependencies

  • Node lts-16 or greater
  • Yarn
  • Postgres

Install dependencies for this monorepo

cd port
yarn

Start server

Create rum-port/packages/server/.env and set following envs

DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=rum-port
DB_USER=postgres
DB_PASSWORD=123456
cd rum-port/packages/server
yarn dev

Start client

[optional] To enable https, place fullchain.pem and key.pem under /rum-port/cert/ folder

cd rum-port/packages/client
yarn dev

Build

Build all packages

cd rum-port
yarn build