mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-27 11:16:45 +00:00
docs: Add Digital Ocean how-to markdown
This commit is contained in:
parent
6950e32558
commit
12de989df6
12
assets/markdown/how_digital_ocean-en.md
Normal file
12
assets/markdown/how_digital_ocean-en.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
### How to get Digital Ocean API Token
|
||||
1. Visit the following [link](https://cloud.digitalocean.com/) and sign
|
||||
into newly created account.
|
||||
2. Enter into previously created project. If you haven't created one,
|
||||
then please proceed.
|
||||
3. Go to the "API" link on the left bar.
|
||||
4. Click on the "Generate New Token".
|
||||
5. Enter any name for the token.
|
||||
6. Put expiration time to "No expiry".
|
||||
7. Check the "Write (optional)" checkbox.
|
||||
8. Now click on the "Generate Token" button.
|
||||
9. After that, the token will be shown. Store it in any reliable place, preferably a password manager.
|
10
assets/markdown/how_digital_ocean-ru.md
Normal file
10
assets/markdown/how_digital_ocean-ru.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
### How to get Digital Ocean API Token
|
||||
1. Перейдите по [ссылке](https://cloud.digitalocean.com/) и войдите в ваш аккаунт.
|
||||
2. Перейдите в новый проект, либо создайте проект, если ещё этого не сделали.
|
||||
3. Перейдите в "API" раздел в меню слева.
|
||||
4. Нажмите на "Generate New Token".
|
||||
5. Введите какое-нибудь имя для токена.
|
||||
6. Установите время истощения на "No expiry".
|
||||
7. Проставьте галочку в пункте "Write (optional)".
|
||||
8. Теперь нажмите на "Generate Token" кнопку внизу.
|
||||
9. После этого появится ваш токен. Скопируйте его в надёжное место, лучше в ваш собственный менеджер паролей.
|
|
@ -289,7 +289,7 @@
|
|||
"select_provider_payment_text_do": "Credit cards, Google Pay, PayPal",
|
||||
"select_provider_email_notice": "E-mail hosting won't be available for new clients. Nevertheless it will be unlocked as soon as you complete your first payment.",
|
||||
"select_provider_site_button": "Visit site",
|
||||
"connect_to_server_provider": "Autorize in ",
|
||||
"connect_to_server_provider": "Now log in ",
|
||||
"connect_to_server_provider_text": "With API token SelfPrivacy will be able to rent a machine and setup your server on it",
|
||||
"how": "How to obtain API token",
|
||||
"provider_bad_key_error": "Provider API key is invalid",
|
||||
|
|
|
@ -51,7 +51,7 @@ class _ServerProviderPickerState extends State<ServerProviderPicker> {
|
|||
providerCubit: widget.formCubit,
|
||||
providerInfo: ProviderPageInfo(
|
||||
providerType: ServerProvider.hetzner,
|
||||
pathToHow: 'hetzner_how',
|
||||
pathToHow: 'how_hetzner',
|
||||
image: Image.asset(
|
||||
'assets/images/logos/hetzner.png',
|
||||
width: 150,
|
||||
|
@ -64,7 +64,7 @@ class _ServerProviderPickerState extends State<ServerProviderPicker> {
|
|||
providerCubit: widget.formCubit,
|
||||
providerInfo: ProviderPageInfo(
|
||||
providerType: ServerProvider.digitalOcean,
|
||||
pathToHow: 'hetzner_how',
|
||||
pathToHow: 'how_digital_ocean',
|
||||
image: Image.asset(
|
||||
'assets/images/logos/digital_ocean.png',
|
||||
width: 150,
|
||||
|
|
Loading…
Reference in a new issue