File tree Expand file tree Collapse file tree 1 file changed +41
-4
lines changed Expand file tree Collapse file tree 1 file changed +41
-4
lines changed Original file line number Diff line number Diff line change 22
33in progress...
44
5- download node.js
6- download mongodb
5+ ## Загрузите и установите программы
6+ * Node.js 22.14.0 (Windows)
7+ * MongoDB Community Server 8.0.5 (Windows)
8+ * MongoDB Compass 1.45.3 (Windows)
79
8- init mongodb scripts
10+ ## Проверьте доступность установленных программ
11+ ### Node.js
12+ Проверьте установку, выполнив в командной строке:
13+ ``` :no-line-numbers
14+ node -v
15+ npm -v
16+ ```
17+ Команды должны отобразить номер версии.
18+
19+ ### MongoDB Community Server
20+ Проверьте, что сервис MongoDB запущен (через Win+R: services.msc).
21+ Название сервиса: MongoDB Server (MongoDB).
22+ Статус: Запущен.
23+
24+ ### MongoDB Compass
25+ После установки запустите Compass и подключитесь к локальному серверу (mongodb://localhost:27017).
926
27+ ## Настройка сервера
28+ 1 . Клонируем репозиторий.
29+ ``` :no-line-numbers
30+ git clone https://github.com/lineage2js/server.git
31+ ```
32+ 2 . Переходим в папку.
33+ ``` :no-line-numbers
34+ cd server
35+ ```
36+ 3 . Выполняем установку.
37+ ``` :no-line-numbers
38+ npm install
39+ ```
40+
41+ ## Запуск сервера
42+
43+ 1 . Запуск login сервера.
1044``` :no-line-numbers
1145node loginserver.js
46+ ```
47+ 2 . Запуск game сервера.
48+ ``` :no-line-numbers
1249node gameserver.js
13- ```
50+ ```
You can’t perform that action at this time.
0 commit comments