<p>Make sure the <codeclass="docutils literal notranslate"><spanclass="pre">evennia</span></code> command works. Use <codeclass="docutils literal notranslate"><spanclass="pre">evennia</span><spanclass="pre">-h</span></code> for usage help (or read on).</p>
<p>If you are having trouble, want to install in some other way (like with Docker) or want to contribute to
Evennia itself, check out the <aclass="reference internal"href="Extended-Installation.html"><spanclass="doc">Extended Installation instructions</span></a>.
It also has a <aclass="reference external"href="Setup/Extended-Installation.html#Troubleshooting">troubleshooting section</a> for different operating
systems.</p>
</div>
<divclass="section"id="initialize-a-new-game">
<h2>Initialize a new game<aclass="headerlink"href="#initialize-a-new-game"title="Permalink to this headline">¶</a></h2>
<p>Use <codeclass="docutils literal notranslate"><spanclass="pre">cd</span></code> to enter a folder where you want to do your game development. Here (and in
the rest of the Evennia documentation) we call this folder <codeclass="docutils literal notranslate"><spanclass="pre">mygame</span></code>, but you should of course
<p>This will create a new folder <codeclass="docutils literal notranslate"><spanclass="pre">mygame</span></code> (or whatever you chose) in your current location. This
contains empty templates and all the default settings needed to start the server.</p>
</div>
<divclass="section"id="start-the-new-game">
<h2>Start the new game<aclass="headerlink"href="#start-the-new-game"title="Permalink to this headline">¶</a></h2>
<p><codeclass="docutils literal notranslate"><spanclass="pre">cd</span></code> into your game folder (<codeclass="docutils literal notranslate"><spanclass="pre">mygame</span></code> in our case). Next, run</p>
<p>This will create the default database (Sqlite3). The database file ends up as <codeclass="docutils literal notranslate"><spanclass="pre">mygame/server/evennia.db3</span></code>. If you
ever want to start from a fresh database, just delete this file and re-run <codeclass="docutils literal notranslate"><spanclass="pre">evennia</span><spanclass="pre">migrate</span></code> again.</p>
<p>Set your user-name and password when prompted. This will be the “god user” or “superuser” in-game. The email is optional.</p>
<p>If all went well, the server is now up and running. Point a legacy MUD/telnet client to <codeclass="docutils literal notranslate"><spanclass="pre">localhost:4000</span></code> or
a web browser at <aclass="reference external"href="http://localhost:4001">http://localhost:4001</a> to play your new (if empty) game!</p>
<blockquote>
<div><p>If <codeclass="docutils literal notranslate"><spanclass="pre">localhost</span></code> doesn’t work on your computer, use <codeclass="docutils literal notranslate"><spanclass="pre">127.0.0.1</span></code>, which is the same thing.</p>
</div></blockquote>
</div>
<divclass="section"id="see-server-logs">
<h2>See server logs<aclass="headerlink"href="#see-server-logs"title="Permalink to this headline">¶</a></h2>
<p>This will echol the server logs to the terminal as they come in:</p>
<p>You can also start logging immediately when running <codeclass="docutils literal notranslate"><spanclass="pre">evennia</span></code> commands, such as</p>
<p>To exit the log view, enter <codeclass="docutils literal notranslate"><spanclass="pre">Ctrl-C</span></code> (<codeclass="docutils literal notranslate"><spanclass="pre">Cmd-C</span></code> for Mac). This will not affect the server.</p>
</div>
<divclass="section"id="restarting-and-stopping">
<h2>Restarting and stopping<aclass="headerlink"href="#restarting-and-stopping"title="Permalink to this headline">¶</a></h2>
<p>You can restart the server without disconnecting any connected players:</p>
<p>Why not head into the <aclass="reference internal"href="../Howto/Starting/Part1/Starting-Part1.html"><spanclass="doc">Starting Tutorial</span></a> to learn how to start making your new game!</p>