Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -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

Expand All@@ -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.
Expand Down