Skip to content
forked from danneu/guild

a node+koa+postgres forum currently in production

License

Notifications You must be signed in to change notification settings

markpinero/guild

 
 

Repository files navigation

Guild

Dependency Status

A forum running in production.

Setup and Install

The Guild is a Node.js app that talks to a Postgres database.

  • Install the latest stable version of Node.

  • The Guild depends on the plv8 Postgres extension.

  • Download the repository and enter the directory that it created:

      git clone git@github.com:danneu/guild.git
      cd guild
    
  • Enter the guild directory and install its dependencies:

      npm install
    
  • Launch Postgres (by default it will run on http://localhost:5432) and create an empty database named guild.

      createdb guild
    
  • The Guild comes with a command that rebuilds the database with tables and fills them with some data to play with:

      npm run reset-db
    
  • Now you can launch the server:

      npm start
      > Listening on http://localhost:3000
    

Config and Environment Variables

The Guild is configured with environment variable listed in server/config.js.

It will run with the default variables, but some features are turned off until they are configured:

About

a node+koa+postgres forum currently in production

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 67.4%
  • JavaScript 24.4%
  • CSS 6.7%
  • PLpgSQL 1.3%
  • PHP 0.2%
  • TSQL 0.0%