make sure star deployer is aware of the domain you are hosting PassMan on by adding a project local .imperial-star-deployer.json variable file
all you need to include is {"project_domain": "your domain"}
run {ImperialStarDeployer directory}/star deploy {PassManJs directory}
and now you should be good to go.
if you don't need a full production deployment and want to just run it locally, then follow these steps
cd into PassManJs
to get dependencies run yarn install
to build run yarn run build-client && yarn run build-server
to run the server and make the client available to a browser run yarn run start-server
Current Considerations
avoid DoS attack surface
only make changes to the file system after the user is authenticated and request is permitted by server policy
ony read user header before client is authenticated
also avoids unauthenticated metadata leakage
server policy was created primarily to mitigate DoS attack
the server may still get overloaded in terms of CPU and network capacity, but the storage on the host will not if you limit account creation and account size with server policy (see class LimitedPolicy in ServerPolicy.ts)