status | securityClass | name |
---|---|---|
2 |
1 |
Daedalus developers documentation |
This document will explain how to accomplish basic cores in the Dedalus project.
- clone the repository
- in the cloned folder, run
npm install --no-optional
. you will see a bunch of typescript errorsTS2322
andTS2503
etc. ignore them.
- (do once) in the project's root open the file
empty-epsilon-config.json
- change
runServer
andkillServer
to commands that can start and stop an empty-epsilon game server with open http api and one player ship ready. - make sure
serverAddress
correctly describes the server's http api address
- change
- run
npm test
to build and test the code
- run
npm run debug
. the server will start and halt on the first line of code - in local chrome browser, go to URL
chrome://inspect
. a debugger console will open. - resume execution from the debugger console
- run
npm start
. the server will start. the main entry point ismain.js
file at the root of the project.
- start the server, according to either
start
ordebug
instructions above. - in local chrome browser, go to URL
http://localhost:3333/
. the Fugazi web client will open. - in the Fugazi web client run
load module from "http://localhost:3333/session.json"
to load session commands
login
will now log in a userwhoami
will now display session details
load module from "http://localhost:3333/excalibur.json"
to load excalibur commands
open
will now open an entry