> For the complete documentation index, see [llms.txt](https://overleaf-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://overleaf-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://overleaf-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.
