Skip to content

CSSE497/pathfinder-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pathfinder Webserver

Build Status

This server hosts https://thepathfinder.xyz, the main website and user dashboard for the Pathfinder webservice. It allows users to create accounts, register applications, modify route and authentication settings and interact with the transports and commodities in their cluster in real-time.

Development Guide

These instructions exist mostly as a reference for the development team.

Local development

The server can be run and debugged locally with

activator ~run

Standalone release

A standalone release can be built with

activator bower dist

This release can be run with

unzip -d /opt target/universal/pathfinder-webserver-<version>.zip
/opt/pathfinder-webserver-<version>/bin/pathfinder-webserver -Dhttp.port=disabled -Dhttps.port=443 -Dplay.server.https.keyStore.path=<path to jks> -Dplay.server.https.keyStore.password=<jks password>

Docker

A Docker image cant be built with

activator docker:publishLocal

The image can be run locally with

docker run -p 9000:9000 pathfinder-webserver:<version>

The image can be pushed to gcloud with

gcloud docker push beta.gcr.io/<gcloud project id>/pathfinder-webserver:<version>

The running Docker container can be updated with

kubectl rolling-update pathfinder-webserver --image=beta.gcr.io/<gcloud project id>/pathfinder-webserver:<version>

License

MIT.

About

The frontend server for the Pathfinder web client.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •