2b2t.online is a social network for a community of gamers.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build/public
controllers
public
views
wiki_data
.DS_Store
.env
.gitignore
README.md
gulpfile.js
package-lock.json
package.json
server.js

README.md

2b2t.online

To install the required modules, run the command

$ npm i

To start the server, first ensure mongodb is running, then run the command

$ node server

To specify a port other than the default of 3000, use the environment variable PORT. e.g.

$ PORT=xxxx node server

If you're developing anything in the public/ directory, you will want to start the gulp watcher using

$ gulp

which will monitor public/ for changes and write them to build/public/ where the server will then serve from.

If committing, please make sure to build the sources and include them in the commit. If performing a pull request, please do not include the altered build/ directory as that will make it much easier for us to review and merge your changes.