leonard-IMBERT / StarlightMap

This is an interactive map for the role play forum isle of starlight
http://hexagrid.xyz
MIT License
0 stars 2 forks source link
starlight

StarlightMap

StarlightMap is a webpage which provides an interactive map of the Isle of Starlight forum game by LoneStarNorth, accessible at http://willsaveworldforgold.com/forum/viewforum.php?f=11 .

A big thanks to him and to the community for what they are doing on this forum.

Alternative front-end

Two front are available one on the / path and the older on the /old path

Dependencies

This software depends on

If you want to run it, please verify that your server has these installed. Node.js dependencies can be installed by running:

npm install

Building

You must build the project before running it. You can do so by running

npm run build

Testing

To set up StarlightMap, ensure that MongoDB is running on default settings (accessible at localhost:27017). If xfvb is available, StarlightMap can be started by running:

npm start

Alternatively, it is possible to test StarlightMap on a local machine without xfvb by running:

node_modules/.bin/webpack && node index.js

Either way, the server will listen on port 3000, and thus the page can be viewed at localhost:3000. In order to retrieve or update data (including the map image), send a POST request to localhost:3000/refresh; this can be accomplished via:

curl -X POST localhost:3000/refresh

If you want to use a different port than the default one, you can set the environment variable STARLIGHT_PORT

Roadmap

Contributing

To contribute, fork the repo, improve the code, then make a pull request

License

You are free to use, copy, modify in a free usage my code at the only condition you credits me and the contributors