diff --git a/README.md b/README.md index 097093f..6fd1c9b 100755 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Windows, Unix systems and macOS are supported. For Windows, you'll need to call Wait a bit while it reads the tutorial from the disk and builds static assets. - Then access the site at `http://127.0.0.1:3000`. + Then access the site at `http://127.0.0.1:3000`. **[Change Server Port](#change-server-port)** 7. Edit the tutorial @@ -92,6 +92,19 @@ cd /js/server Please note, the server must support that language. There must be corresponding locale files for that language in the code of the server, otherwise it exists with an error. As of now, `ru`, `en`, `zh`, `tr` and `ja` are fully supported. + +# Change Server Port + +The server uses port `3000` by default. + +In case, if you want to change the port, you can change it by setting `env.PORT` in `/js/server/modules/config/index.js` to required port. + +for port `5000`: + +```js +env.PORT = 5000; +``` + # Translating images Most pictures are in SVG format. Strings inside it are usually just text, they can be replaced.