-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Добавил про baseUrl в CONTRIBUTING (#564)
* Add baseUrl note
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -220,7 +220,7 @@ | |
|
||
* Склонируйте репозиторий: | ||
|
||
git clone [email protected]:2gis/mapsapi.git mapsapi-folder | ||
git clone [email protected]:2gis/mapsapi.git | ||
|
||
Примечание: если вы устанавливаете API карт не с текущего репозитория, а с его форка, тогда не забудьте указать первым параметром команды `clone` адрес форка вместо адреса репозитория 2ГИС. | ||
* Установите [Node.js](https://nodejs.org/) | ||
|
@@ -229,6 +229,7 @@ | |
cd ~/mapsapi-folder | ||
npm install | ||
|
||
* В файле `config.main.json` замените параметр `baseUrl` на пустую строку: `"baseUrl": ""`. | ||
* Выполните сборку API карт и запуск сервера: | ||
|
||
npm run dev | ||
|