Move prerequisites section in README

This commit is contained in:
Adw8 2024-10-01 17:35:04 +05:30
parent 5665db44bf
commit 78993a2510

View File

@ -4,6 +4,14 @@
To get started, follow the [installation](../README.md#installation) guide to setup ansible on your machine
## Prerequisites
- Set up a DigitalOcean Droplet with passwordless SSH access
- Buy a domain and configure [nameservers pointing to DigitalOcean](https://docs.digitalocean.com/products/networking/dns/getting-started/dns-registrars/)
- Generate a DigitalOcean access token, used for API authentication and managing cloud resources
## Setup a new User
- Create a new `hosts.ini` file:
@ -45,7 +53,7 @@ To get started, follow the [installation](../README.md#installation) guide to se
cp vars/user-vars.example.yml vars/user-vars.yml
```
- Edit the following vars:
- Edit the `user-vars.yml` file:
```bash
# name of the user you want to setup on the target host
@ -67,14 +75,6 @@ To get started, follow the [installation](../README.md#installation) guide to se
## Become a Service Provider
### Prerequisites
- Set up a DigitalOcean Droplet with passwordless SSH access
- Buy a domain and configure [nameservers pointing to DigitalOcean](https://docs.digitalocean.com/products/networking/dns/getting-started/dns-registrars/)
- Generate a DigitalOcean access token, used for API authentication and managing cloud resources
### Setup
- Copy the vars files:
@ -121,7 +121,7 @@ To get started, follow the [installation](../README.md#installation) guide to se
deployer_gpg_passphrase: "" # passphrase for creating GPG key used by webapp-deployer, eg: SECRET
```
- Update the [`hosts.ini`](./hosts.ini) file to run the playbook on a remote machine:
- Update the [`hosts.ini`](./hosts.ini) file:
```ini
[root_host]
@ -153,7 +153,7 @@ To get started, follow the [installation](../README.md#installation) guide to se
- Run the `service-provider-setup.yml` ansible-playbook to:
- Create DNS records
- Deploy k8s,
- Deploy k8s
- Setup laconicd and laconic console
- Setup container registry
- Deploy the webapp-deployer API and webapp-deployer UI