mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
Updated Run FMG locally (markdown)
parent
6afc349182
commit
0e20a8fb8a
1 changed files with 2 additions and 2 deletions
|
|
@ -4,10 +4,10 @@ To run the Generator locally you need to download its files and start a local we
|
||||||
Open [Releases](https://github.com/Azgaar/Fantasy-Map-Generator/releases) page, select the latest available version and click on _Source code (zip)_. Unzip _all files_ from the downloaded archive.
|
Open [Releases](https://github.com/Azgaar/Fantasy-Map-Generator/releases) page, select the latest available version and click on _Source code (zip)_. Unzip _all files_ from the downloaded archive.
|
||||||
|
|
||||||
## Run a server
|
## Run a server
|
||||||
The easiest ways to run a local web server is to use Python's `http.server` module.
|
The easiest way to run a local web-server is to use Python's `http.server` module.
|
||||||
|
|
||||||
1. Install Python. If you are using Linux or macOS, it should be available on your system already. If you are a Windows user, you can get an installer from the [Python homepage](https://www.python.org/downloads). On the first installer page, make sure you check the "Add Python 3.xxx to PATH" checkbox.
|
1. Install Python. If you are using Linux or macOS, it should be available on your system already. If you are a Windows user, you can get an installer from the [Python homepage](https://www.python.org/downloads). On the first installer page, make sure you check the "Add Python 3.xxx to PATH" checkbox.
|
||||||
|
|
||||||
2. If you are Windows user, run the `run_python_server.bat` file in the Fantasy Map Generator folder. It will start the server and automatically open the Application in Chrome. You can edit the `.bat` file in any text editor if you want to use a different browser or host.
|
2. If you are Windows user, run the `run_python_server.bat` file in the Fantasy Map Generator folder. It will start the web-server and automatically open the Application in Chrome. You can edit the `.bat` file in any text editor if you want to use a different browser or host.
|
||||||
|
|
||||||
For other systems open the terminal and print a `python -m http.server 8000` command. Then open `http://localhost:8000/` in browser.
|
For other systems open the terminal and print a `python -m http.server 8000` command. Then open `http://localhost:8000/` in browser.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue