Closed mipollex closed 4 years ago
Scripts look good - just a couple questions surrounding usability.
1) Are there docs for these anywhere?
2) Might it be useful to create a bash script to run these? I'm thinking maybe we can change npm start
to run a custom bash script which will run registerServer if ones not already registered, start the server, and then createAdminUser if one doesn't already exist or something.
So then you can always just start the server using npm start
and it will automatically do the setup if its needed
Scripts look good - just a couple questions surrounding usability.
- Are there docs for these anywhere?
- Might it be useful to create a bash script to run these? I'm thinking maybe we can change
npm start
to run a custom bash script which will run registerServer if ones not already registered, start the server, and then createAdminUser if one doesn't already exist or something.So then you can always just start the server using
npm start
and it will automatically do the setup if its needed
No, there is currently no documentation. I've been swamped with other schoolwork, and haven't had time to throw together a comprehensive set of instructions. I wouldn't mind spending my Tuesday "skybunk time" on better docs though
I've created two scripts to aid in developer setup. These two scripts should be used as such:
These new scripts do not currently take input from the user, so any values should be modified inline during use (I was too lazy at the time of writing to do this). If there's enough interest I have no problems adding command-line arguments or just a simple means of querying the user for values.