> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/ru/ustanovka/using-the-github-codespace.md).

# Использование GitHub Codespace

Самый простой способ настроить ваш Overleaf Pro — использовать GitHub Codespace, где все переменные окружения предварительно настроены, чтобы вы могли использовать его сразу из коробки.

{% hint style="warning" %}
Когда вы запускаете контейнеры Docker с помощью GitHub Codespaces, Codespace не будет автоматически завершаться и будет продолжать быть **тарифицироваться**. Для ознакомления с правилами тарификации GitHub Codespaces, пожалуйста, обратитесь к [правилам тарификации GitHub Codespaces](https://docs.github.com/en/billing/concepts/product-billing/github-codespaces).

Для управления вашими GitHub Codespaces, пожалуйста, посетите <https://github.com/codespaces>. Когда он вам больше не нужен, пожалуйста, своевременно удалите свой Codespace.
{% endhint %}

Мы **предварительно настроили** следующие функции:

* [x] Система шаблонов
* [x] Публичная регистрация
* [x] Компиляция в песочнице
* [x] Git Bridge для Overleaf
* [x] Панель рецензирования

{% stepper %}
{% step %}

### Создайте свой GitHub Codespace

Нажмите следующую кнопку, чтобы создать свой GitHub Codespace. Что касается конфигурации сервера, **2 ядра и 8 ГБ ОЗУ** , как правило, достаточно для индивидуального ежедневного редактирования. Если вы планируете работать в **небольшой команде**, мы рекомендуем выбрать конфигурацию с **4 ядрами или более**.

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/ayaka-notes/overleaf)
{% endstep %}

{% step %}

### Инициализируйте экземпляр Overleaf

Когда ваш codespace будет готов, выполните следующую команду в bash, чтобы инициализировать экземпляр Overleaf.

{% code title="bash" %}

```bash
./init.sh
```

{% endcode %}

{% hint style="info" %}
Вам, возможно, придется подождать как минимум 3 минуты, пока мы загрузим все необходимые вам образы Docker.
{% endhint %}

<figure><img src="/files/98153d03db4adca4de43f3acc90c49063c80a804" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Сделайте порт 80 доступным

Переключитесь на **вкладку «Порты»** и затем выполните следующие шаги, чтобы сделать порт 80 общедоступным.

<figure><img src="/files/52fee0b3a3fb895baa8e7594e3a2a91ff79278c2" alt=""><figcaption></figcaption></figure>

После этого вы можете нажать **Перенаправленный адрес** чтобы открыть ваш экземпляр Overleaf. Возможно, вам потребуется добавить `/launchpad` чтобы перейти на приветственную страницу Overleaf.
{% endstep %}

{% step %}

### Создайте свою учетную запись администратора

Введите данные своей учетной записи администратора и пароль, затем нажмите кнопку Register.

<figure><img src="/files/ce0e10c8b3614ee76706909c70db184b17284579" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Приятного написания

Теперь пришло время насладиться своим $$\LaTeX$$ письмом!

<figure><img src="/files/cb861ca4aff842d06b74ae15c27aca5e4a492772" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/ru/ustanovka/using-the-github-codespace.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
