Skip to content

GitHug/roster-converter

Repository files navigation

Build Status codecov pulls

Roster Converter

Converts Battlescribe roster files to Javascript.

Usage

Container Parameters

docker container run -d -p 49160:8000 githug/roster-converter
docker container run -d -e SILENT=true -e PORT=8080 -p 49160:8080 githug/roster-converter

Environment Variables

  • PORT - Port that the application listens to.
  • SILENT - Set to suppress logging.

Endpoints

The application has two endpoints.

  • GET /ping - Used for health check.
  • POST /conversion - Expects multipart/form-data with an attached Battlescribe roster file.

Example

docker container run -d -p 49160:8000 githug/roster-converter

curl -v -i -F "data=@rosterFile.rosz" -H "Content-Type: multipart/form-data" -X POST http://localhost:49160/conversion

Versioning

SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.