mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 12:56:30 +01:00
Rounds of doc cleanups
This commit is contained in:
parent
86686c0d15
commit
4128bc4733
9 changed files with 87 additions and 102 deletions
|
|
@ -1,14 +1,5 @@
|
|||
# Installation
|
||||
|
||||
The Evennia server is installed, run and maintained from the terminal (console/CMD on Windows). Starting the server
|
||||
doesn't make anything visible online. Once you download everything you can in fact develop your game in complete
|
||||
isolation if you want, without needing any access to the internet.
|
||||
|
||||
Evennia requires [Python](https://www.python.org/downloads/) 3.9 or 3.10.
|
||||
Using a [Python virtualenv](../Glossary.md#virtualenv) is highly recommended in order to keep your
|
||||
Evennia installation independent from the system libraries. Don't install Evennia as
|
||||
administrator or superuser.
|
||||
|
||||
```{warning}
|
||||
pip install evennia is not yet available in develop branch. Use the [git installation](./Installation-Git.md).
|
||||
```
|
||||
|
|
@ -16,13 +7,24 @@ pip install evennia is not yet available in develop branch. Use the [git install
|
|||
If you are converting an existing game from a previous version, [see here](./Installation-Upgrade.md).
|
||||
```
|
||||
|
||||
|
||||
- Evennia requires [Python](https://www.python.org/downloads/) 3.9 or 3.10.
|
||||
- Using a [Python virtualenv](../Glossary.md#virtualenv) is highly recommended in order to keep your
|
||||
Evennia installation independent from the system libraries.
|
||||
- Don't install Evennia as
|
||||
administrator or superuser.
|
||||
|
||||
Evennia is managed from the terminal (console/CMD on Windows). If you have a suitable Python installed, you can install with
|
||||
|
||||
pip install evennia
|
||||
|
||||
Once installed, make sure the `evennia` command works. Use `evennia -h` for usage help. If you are using a
|
||||
virtualenv, make sure it's active whenever you need to use the `evennia` command.
|
||||
|
||||
Alternatively, you can [install Evennia from github](./Installation-Git.md) or use [docker](./Installation-Docker.md).
|
||||
Check out [installation troubleshooting](./Installation-Troubleshooting.md) if you run into problems. Some
|
||||
|
||||
Installing doesn't make anything visible online. Apart from installation and updating, you can develop your game without any internet connection.
|
||||
|
||||
Once installed, make sure the `evennia` command works. Use `evennia -h` for usage help. If you are using a virtualenv, make sure it's active whenever you need to use the `evennia` command.
|
||||
|
||||
> Check out [installation troubleshooting](./Installation-Troubleshooting.md) if you run into problems. Some
|
||||
users have also experimented with [installing Evennia on Android](./Installation-Android.md).
|
||||
|
||||
## Initialize a new game
|
||||
|
|
@ -42,18 +44,15 @@ contains empty templates and all the default settings needed to start the server
|
|||
cd mygame
|
||||
evennia migrate
|
||||
|
||||
This will create the default database (Sqlite3). The database file ends up as `mygame/server/evennia.db3`. If you
|
||||
ever want to start from a fresh database, just delete this file and re-run `evennia migrate` again.
|
||||
This will create the default database (Sqlite3). The database file ends up as `mygame/server/evennia.db3`. If you ever want to start from a fresh database, just delete this file and re-run `evennia migrate` again.
|
||||
|
||||
evennia start
|
||||
|
||||
Set your user-name and password when prompted. This will be the "god user" or "superuser" in-game.
|
||||
The email is optional.
|
||||
Set your user-name and password when prompted. This will be the "god user" or "superuser" in-game. The email is optional.
|
||||
|
||||
> You can also [automate](./Installation-Non-Interactive.md) the creation of the super user.
|
||||
|
||||
If all went well, the server is now up and running. Point a legacy MUD/telnet client to `localhost:4000` or
|
||||
a web browser at [http://localhost:4001](http://localhost:4001) to play your new (if empty) game!
|
||||
If all went well, the server is now up and running. Point a legacy MUD/telnet client to `localhost:4000` or a web browser at [http://localhost:4001](http://localhost:4001) to play your new (if empty) game!
|
||||
|
||||
Log in as a new account or use the superuser you just created.
|
||||
|
||||
|
|
@ -93,8 +92,7 @@ To exit the log tailing, enter `Ctrl-C` (`Cmd-C` for Mac). This will not affect
|
|||
|
||||
## Server configuration
|
||||
|
||||
The server configuration file is `mygame/server/settings.py`. It's empty by default. Copy and change
|
||||
only the settings you want from the [default settings file](./Settings-Default.md).
|
||||
The server configuration file is `mygame/server/settings.py`. It's empty by default. Copy and change only the settings you want from the [default settings file](./Settings-Default.md).
|
||||
|
||||
## Register with the Evennia Game Index (optional)
|
||||
|
||||
|
|
@ -111,10 +109,4 @@ beforehand to make sure you don't pick a game name that is already taken - be ni
|
|||
|
||||
You are good to go!
|
||||
|
||||
Evennia comes with a small [Tutorial World](../Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Tutorial-World.md) to experiment and learn from. After logging
|
||||
in, you can create it by running
|
||||
|
||||
batchcommand tutorial_world.build
|
||||
|
||||
Next, why not head into the [Starting Tutorial](../Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Part1-Intro.md)
|
||||
to learn how to start making your new game!
|
||||
Next, why not head into the [Starting Tutorial](../Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Part1-Intro.md) to learn how to start making your new game!
|
||||
Loading…
Add table
Add a link
Reference in a new issue