Update installation

This commit is contained in:
Griatch 2022-11-19 10:59:05 +01:00
parent db0cfba84d
commit 4f5c83fb7a
2 changed files with 8 additions and 5 deletions

View file

@ -39,7 +39,10 @@ not recognize `localhost`).
A Python [virtual environment](https://docs.python.org/3/library/venv.html) allows you to install Evennia in its own little folder, separate from the rest of the system. You also won't need any extra permissions. It's optional to use a virtualenv, but it's highly recommended. Python supports this natively: A Python [virtual environment](https://docs.python.org/3/library/venv.html) allows you to install Evennia in its own little folder, separate from the rest of the system. You also won't need any extra permissions. It's optional to use a virtualenv, but it's highly recommended. Python supports this natively:
python3.11 -m venv evenv python3.11 -m venv evenv (linux/mac)
python -m venv venv evenv (Windows)
> If you have older versions of Python installed on Windows, you should instead use `py` instead of `python` - the `py` launcher automatically selects the latest python version among those you installed.
This will create a new folder `evenv` in your current directory. This will create a new folder `evenv` in your current directory.
Activate it like this: Activate it like this:

View file

@ -6,13 +6,13 @@ If you are converting an existing game from a previous Evennia version, [see her
Installing Evennia doesn't make anything visible online. Apart from installation and updating, you can develop your game without any internet connection. Installing Evennia doesn't make anything visible online. Apart from installation and updating, you can develop your game without any internet connection.
- Evennia supports [Python](https://www.python.org/downloads/) 3.9, 3.10 or 3.11. - Evennia requires [Python](https://www.python.org/downloads/) 3.9, 3.10 or 3.11 (recommended)
- Using a [Python virtualenv](Installation-Git#virtualenv) is optional, but _highly recommended_ in order to keep your - Windows: In the installer, make sure you select `add python to path`. If you have multiple versions of Python installed, use `py` command instead of `python` to have Windows automatically use the latest.
Evennia installation independent from the system libraries. - Using a light-weight [Python virtual environment](Installation-Git#virtualenv) _ is optional, but _highly recommended_ in order to keep your Evennia installation independent from the system libraries. This comes with Python.
- Don't install Evennia as administrator or superuser. - Don't install Evennia as administrator or superuser.
- If you run into trouble, see [installation troubleshooting](Installation-Troubleshooting). - If you run into trouble, see [installation troubleshooting](Installation-Troubleshooting).
Evennia is managed from the terminal (console/CMD on Windows). If you have a suitable Python installed, you can install it with Evennia is managed from the terminal (console/Command Prompt on Windows). Once you have Python, you install Evennia with
pip install evennia pip install evennia