-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Welcome to the Trine wiki!
-
For those unfamiliar with installing Python packages with
pip
, follow the Installation guide. -
You need to setup a working directory now. This is where all your
.yml
files go. By default, Trine looks in~/.trine/
for these files, but you may choose to store them elsewhere (next to your core directory, for example). -
Drop a
config.yml
in your preferred working directory, and enter your database details:db: type: mysql username: trinity password: password host: localhost world_db: world
-
Start creating schemas for your mall, custom items, or whatever else you need that's going to be database-bound. Once you're done, run
trine -w /path/to/working/dir <filename without extension|all> [dml|execute]
.The
dml
argument outputs the SQL to stdout, whileexecute
naturally executes all queries on the database.
Security problem ?