Database
Good news! No need to setup anything database related!
How??
We use an ORM (Object-Relational Mapping), called Sequelize and database models which sync themselves to your database.
We just read your mysql_connection_string, tell the ORM to connect to it (no pool, just one connection) and sync our models to your database.
Note
Models don't contain data, syncing models either just runs CREATE TABLE orĀ ALTER TABLE on OUR tables. It doesn't touch any existing tables outside of it's own.
Install pre-made garages
If you want to make use of our default pre-made garages and such, follow the following steps.
- Make sure the script has started succeesully.
- In your TxAdmin console, run
setup-default-garages. - Follow the instructions in the console.
- And that should be it! No need to restart the script. Everything is already being iniated by the server and synced to all clients.