Fix punctuation in shell commands

This commit is contained in:
Condorra 2023-12-30 22:34:20 +11:00
parent a27a193b97
commit af45241b53

View File

@ -51,8 +51,8 @@ the LICENSE file) as the other code in the repository you are contributing to.
* Setup postgresql. See [the Postgres docs](https://www.postgresql.org/docs/current/tutorial-install.html) for help. Create a postgresql database (in these instructions, I assume you call it blast) and user (called `blast` in these instructions as well) for Blastmud.
* Run `psql -d template1 <schema/schema.sql` as a user with access to create databases.
* Install migra - `pip3 install migra`.
* Diff the blast DB from the temporary blast_schemaonly DB with `migra "postgres:///blast" "postgres:///blast_schemaonly" > /tmp/update.sql`
* Check `/tmp/update.sql` and if it looks good, apply it with `psql -U blast -d blast &lt/tmp/update.sql`
* Diff the blast DB from the temporary blast_schemaonly DB with `migra "postgres:///blast" "postgres:///blast_schemaonly" > /tmp/update.sql`
* Check `/tmp/update.sql` and if it looks good, apply it with `psql -U blast -d blast </tmp/update.sql`
* Create a config directory under the blastmud directory you checked out, and put a listener.conf and gameserver.conf in it, with the content below. Also make a run directory under config.
* From the config directory, run `../target/debug/blastmud_listener`. In another tab, run `../target/debug/blastmud_game`.
* Connect to port 1234 on localhost to test it out locally.