Skip to content
/ forum Public

real-time forum software written in javascript. could very well replace your old phpBB forum (it replaced ours). react+redux, node, postgres.

Notifications You must be signed in to change notification settings

twinlabs/forum

Repository files navigation

Build Status

Installation:

npm install

Persistent Tests:

npm run test:watch

Run App Locally:

npm run start:dev

Debug App:

npm run start:debug

Run Test Suite:

npm test

Run Test Suite in Debug Mode:

npm run test:debug

Database

psql --command="create database forum;" && psql --echo-all --dbname=forum --file=tables.sql

Add /build Directory

From installation directory root, mkdir build. This directory is needed so the app can write client-side bundles to it.

Register a User

After installation, point your browser at [root installation folder]/signup.

Choose the file duck.jpg from your /test/fixtures as your authentication token.

After registering, login using the user/pass you signed up with.

Hot Reload

npm run start:dev does 'hot reloading' by default. This is subject to change.

Environment Variables

FORUM_STORAGE_ADAPTER=S3 - change this and provide another module to use your chosen storage back-end. For documentation on the default S3 adapter, see that module's documentation.