Skip to content

cbebry/mapservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mapservice

The RESTful HTTP API for collaborative cloud-based level editing.

install

Clone the latest:
git clone git@github.com:StevenEBarbaro/mapservice.git
cd mapservice

Install the application's dependencies:
npm install .

Setup configuration files:
cp ./config/database.example.js ./config/database.js
cp ./config/config.example.js ./config/config.js

Set up the database connection config in ./config/database.js. As of right now, mysql is the only supported database setup. Make sure the credentials are correct as to avoid crashing.

exports.config = {
  type: 'mysql',
  hostname: 'localhost',
  port: 3306,
  db: 'mydbname',
  user: 'dbuser',
  password: 'dbpass'
};

Set up the HTTP server config in ./config/config.js. The following is default and works, but is customizable:

exports.config = {
  hostname: '0.0.0.0',
  port: 8000
};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors