Skip to content

Commit 872f420

Browse files
authored
chore(review): tutos part 1 (#4975)
1 parent 0cbf60d commit 872f420

File tree

12 files changed

+254
-467
lines changed

12 files changed

+254
-467
lines changed
1.87 MB
Loading
Binary file not shown.

tutorials/configure-nextcloud-ubuntu/index.mdx

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ categories:
99
- instances
1010
tags: Nextcloud Ubuntu-Bionic-Beaver
1111
dates:
12-
validation: 2024-10-29
12+
validation: 2025-05-14
1313
posted: 2018-10-26
1414
---
1515

@@ -39,30 +39,25 @@ It provides a large portfolio of [different applications](https://nextcloud.com/
3939
```
4040
snap install nextcloud
4141
```
42-
4. Finish the installation by running the following command. Note that a username and password must be provided when you run the script.
42+
4. Run the following command to finish the installation. Make sure that you replace `your-username` and `your-password` with credentials of your choice, and that you note them as you will need them to login to your Nextcloud Instance.
4343
```
44-
nextcloud.manual-install user password
44+
nextcloud.manual-install your-username your-password
4545
```
4646

47-
<Message type="important">
48-
Replace `user` with the identifier of your user and `password` with the password of your user in the command above.
49-
</Message>
47+
The following output should display:
5048

51-
You will see the following message:
52-
53-
`Nextcloud is not installed - only a limited number of commands are available`
54-
55-
Some minutes later the following message appears: `Nextcloud was successfully installed`. Your Nextcloud installation has been successful.
49+
`Nextcloud was successfully installed`
5650

5751
## Configuring trusted domains
5852

59-
By the default, the access to your Nextcloud Instance is limited to `localhost`. To access it via your domain name, you have to add it to the list of trusted domains.
53+
By default, access to your Nextcloud Instance is limited to `localhost`. To access it via your domain name, you have to add it to the list of trusted domains.
6054

61-
1. Run the following command to allow the connection via the domain `your.domain.com` to your Nextcloud.
55+
Run the following command to allow the connection via the domain `your.domain.com` to your Nextcloud.
6256
```
6357
nextcloud.occ config:system:set trusted_domains 1 --value=your.domain.com
6458
```
65-
2. The following message appears when the domain is successfully added: `System config value trusted_domains => 1 set to string your.domain.com`
59+
60+
The following message should appear, confirming that the domain was added: `System config value trusted_domains => 1 set to string your-domain.com`
6661

6762
## Securing the web interface with a Let's Encrypt TLS/SSL certificate
6863

@@ -102,25 +97,26 @@ By default, the Nextcloud installation via Snap provides a plain HTTP connection
10297
10398
Have you met these requirements? (y/n)
10499
```
105-
3. Enter your email address when asked to do so and confirm by pressing **Enter**:
100+
3. Enter your email address when prompted and confirm by pressing **Enter**:
106101
```
107102
Please enter an email address (for urgent notices or key recovery): [email protected]
108103
```
109104
4. Enter the domain name that you have configured in a previous step for your Instance (`your.domain.com` in our case), then confirm by pressing **Enter**:
110105
```
111106
Please enter your domain name(s) (space-separated): your.domain.com
112107
```
113-
5. Your certificate is being requested and Apache will be restarted. The following messages will appear, once the certificate has been obtained:
108+
The following output should display once the certificate has been obtained:
114109
```
115110
Attempting to obtain certificates... done
116111
Restarting apache... done
117112
```
118113

119114
## Accessing Nextcloud
120115

121-
You will now be able to access your Nextcloud Instance for the first time.
116+
You can now access your Nextcloud Instance.
122117

123-
1. Open your browser and type the address of your Instance (For example: `https://your.domain.com`). You will see a login screen where you have to enter the user and password that you have created previously.
124-
2. Once connected you will see your personal cloud storage space. You can upload, share, or download files from the interface:
125-
<Lightbox src="scaleway-nextcloud_files.webp" alt="" />
126-
3. Optionally, you can download one of the several [Nextcloud clients](https://nextcloud.com/install/#install-clients) to manage your cloud storage space directly from your computer.
118+
1. Open your browser and type the address of your Instance (For example: `https://your.domain.com`). A login screen displays.
119+
2. Enter the username and password that you have created in the previous steps. Your personal cloud storage space displays.
120+
3. Upload, share, or download files from the interface:
121+
<Lightbox src="scaleway-nextcloud-files.webp" alt="" />
122+
4. Optionally, download one of the several [Nextcloud clients](https://nextcloud.com/install/#install-clients) to manage your cloud storage space directly from your computer.

tutorials/configure-tem-smtp-with-wordpress-plugin/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ categories:
1010
- transactional-email
1111
- instances
1212
dates:
13-
validation: 2025-05-14
13+
validation: 2025-05-22
1414
posted: 2024-04-24
1515
---
1616

@@ -25,7 +25,7 @@ dates:
2525

2626
1. [Create an API key](/iam/how-to/create-api-keys/) from the Scaleway console. Make sure that you take note of your secret key.
2727
2. [Create an Instance](/instances/how-to/create-an-instance/) with a **WordPress** image from the **InstantApps** tab.
28-
3. [Create](/instances/how-to/use-security-groups/#how-to-create-a-security-group) a security group, check the **Enable SMTP ports** box, click **+ Add Instance**, and select your Instance in the drop-down.
28+
3. [Create](/instances/how-to/use-security-groups/#how-to-create-a-security-group) a security group, choose your Instance to it to the security group, and check the **Enable SMTP ports** box.
2929

3030
## Configuring and logging in to your WordPress website
3131

@@ -47,15 +47,15 @@ dates:
4747

4848
## Configuring the WordPress plug-in
4949

50-
1. Hover over **WP Mail SMTP** in the WordPress left-side menu, and click **Settings**. You are redirected to the **General** tab.
50+
1. Click **Settings** under **WP Mail SMTP**. You are redirected to the **General** tab.
5151
2. Click the **Launch Setup Wizard** button to configure the plug-in. You are redirected to the WP Mail SMTP welcome page.
5252
3. Click **Let's Get Started**.
5353
4. Choose **Other SMTP**, then click **Save and Continue**.
5454
5. Enter `smtp.tem.scaleway.com` in the **SMTP Host** field.
5555
6. Select **TLS** in the **Encryption** field.
5656
7. In the **SMTP Port** enter either of the Transactional Email TLS connection ports: `465` or `2465`.
5757
8. Switch on the **Enable Authentication** toggle.
58-
9. Retrieve your **SMTP username** in the **Overview** tab of your Transactional Email domain in the Scaleway console, and paste it in the **SMTP Username** field.
58+
9. Access your [Transactional Email domain](https://console.scaleway.com/transactional-email/domains), retrieve your **Username** in the **SMTP configuration** section of the **Overview** tab, and paste it in the **SMTP Username** field.
5959
<Lightbox src="scaleway-smtp-config.webp" width="" alt="" />
6060
10. Use your Scaleway API secret key as your SMTP password.
6161
11. Enter the name you want your emails to originate from in the **From Name** field.
220 KB
Loading
770 KB
Loading
Binary file not shown.

tutorials/deploy-penpot-with-docker-instantapp/index.mdx

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,59 +22,58 @@ In this tutorial, you learn how to deploy your own Penpot Instance using the Doc
2222

2323
- A Scaleway account logged into the [console](https://console.scaleway.com)
2424
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
25-
26-
## Installing Penpot using Docker Compose
25+
- [Created a Scaleway Instance](/instances/how-to/create-an-instance/) with a [Docker InstantApp](https://console.scaleway.com/instance/servers/create?area=fr-par-1&imageKey=c1b530d8-0ca0-45c4-80db-ba06608287b2&offerName=PLAY2-MICRO)
26+
- A domain
2727

28-
1. Click **Instances** in the **Compute** section of the [Scaleway console](https://console.scaleway.com/organization) side menu. Then [deploy](/instances/how-to/create-an-instance/) a new Instance using the [Docker InstantApp](https://console.scaleway.com/instance/servers/create?area=fr-par-1&imageKey=c1b530d8-0ca0-45c4-80db-ba06608287b2&offerName=PLAY2-MICRO).
28+
## Installing Penpot using Docker Compose
2929

30-
2. Connect to the Instance using [SSH](/instances/how-to/connect-to-instance/):
30+
1. Connect to your Instance using [SSH](/instances/how-to/connect-to-instance/):
3131
```
3232
ssh root@<docker_instance_ip>
3333
```
3434

35-
3. Download the Docker configuration from the Penpot repository:
35+
2. Download the Docker configuration from the Penpot repository:
3636

3737
```
3838
wget https://raw.githubusercontent.com/penpot/penpot/main/docker/images/docker-compose.yaml
39-
wget https://raw.githubusercontent.com/penpot/penpot/main/docker/images/config.env
4039
```
4140

42-
4. Open the file containing the environment variables (`config.env`) in a text editor:
41+
3. Open `docker-compose.yaml` in a text editor:
4342
```
44-
nano config.env
43+
nano docker-compose.yaml
4544
```
4645

47-
5. Set the `PENPOT_PUBLIC_URI` to your Penpot domain. Then save the file and exit the editor.
46+
4. Set the `PENPOT_PUBLIC_URI` to your Penpot domain. Then save the file and exit the editor.
4847
```
49-
PENPOT_PUBLIC_URI=https://penpot.mydomain.eu
48+
PENPOT_PUBLIC_URI=https://penpot.your-domain.com
5049
```
51-
6. Update the APT package cache on your system to make sure you have the latest releases available.
50+
5. Update the APT package cache on your system to make sure you have the latest releases available.
5251
```
5352
apt update
5453
```
5554

56-
7. Install the Nginx web server and `certbot` using APT. These serve as a frontend for the Penpot application and provide a secured TLS connection by using Let's Encrypt certificates.
55+
6. Install the Nginx web server and `certbot` using APT. These serve as a frontend for the Penpot application and provide a secured TLS connection by using Let's Encrypt certificates.
5756
```
5857
apt install nginx python3-certbot-nginx
5958
```
6059

61-
8. Disable the default virtual host, that is pre-configured when Nginx is installed via Ubuntu’s package manager.
60+
7. Disable the default virtual host, that is pre-configured when Nginx is installed via Ubuntu’s package manager.
6261
```
6362
unlink /etc/nginx/sites-enabled/default
6463
```
6564

66-
9. Create a Nginx configuration file for the reverse proxy:
65+
8. Create an Nginx configuration file for the reverse proxy:
6766
```
6867
nano /etc/nginx/sites-available/penpot.conf
6968
```
7069

71-
Copy the following content into the file, save it, and exit the editor.
70+
9. Paste the following content into the file. Make sure that you replace `your-domain.com` with your domain. Save the file and exit.
7271
```
7372
server {
7473
listen 80;
7574
listen [::]:80;
7675
77-
server_name penpot.mydomain.eu;
76+
server_name penpot.your-domain.com;
7877
7978
access_log /var/log/nginx/reverse-access.log;
8079
error_log /var/log/nginx/reverse-error.log;
@@ -104,11 +103,16 @@ In this tutorial, you learn how to deploy your own Penpot Instance using the Doc
104103

105104
## Securing the connection using TLS
106105

107-
1. Run `certbot`, a tool that automatizes most of the configuration work related to requesting, installing, and managing the TLS certificate:
106+
1. Log into your domain registrar, access your DNS zone, and add an A record with the following information.
107+
- Name: `penpot`
108+
- IP address or Hostname or Value: `<your-instance-public-IPv4-address>`
109+
- TTL: default
110+
111+
2. Run `certbot`, a tool that automatizes most of the configuration work related to requesting, installing, and managing the TLS certificate:
108112
```
109113
certbot --nginx
110114
```
111-
2. Answer the prompts that display on the screen to request a valid Let’s Encrypt TLS certificate:
115+
3. Answer the prompts that display on the screen to request a valid Let’s Encrypt TLS certificate:
112116
```
113117
Saving debug log to /var/log/letsencrypt/letsencrypt.log
114118
Plugins selected: Authenticator nginx, Installer nginx
@@ -121,7 +125,7 @@ In this tutorial, you learn how to deploy your own Penpot Instance using the Doc
121125
blank to select all options shown (Enter 'c' to cancel): 1
122126
Obtaining a new certificate
123127
Performing the following challenges:
124-
http-01 challenge for your.domain.com
128+
http-01 challenge for your-domain.com
125129
Waiting for verification...
126130
Cleaning up challenges
127131
Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/reverse-proxy.conf
@@ -137,26 +141,24 @@ In this tutorial, you learn how to deploy your own Penpot Instance using the Doc
137141
Redirecting all traffic on port 80 to ssl in /etc/nginx/sites-enabled/reverse-proxy.conf
138142
139143
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
140-
Congratulations! You have successfully enabled https://your.domain.com
141-
142-
You should test your configuration at:
143-
https://www.ssllabs.com/ssltest/analyze.html?d=your.domain.com
144+
Congratulations! You have successfully enabled HTTPS on https://your-domain.com
144145
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
145146
```
146147

147-
## Running Penpot
148+
## Running Penpot
148149

149150
1. Run `docker-compose` to start Penpot:
150151
```
151152
docker-compose -p penpot -f docker-compose.yaml up -d
152153
```
153-
2. Run the following command to add a Penpot user:
154+
2. Open your Penpot Instance in a browser:
154155
```
155-
docker exec -ti penpot-penpot-backend-1 ./manage.sh create-profile
156+
http://penpot.your-domain.com
156157
```
157-
3. Open a web browser on your local computer and point it to your Penpot domain. The login screen displays.
158-
<Lightbox src="scaleway-penpot-login.webp" alt="" />
159-
4. Log in using the credentials of the previously created user. The Penpot dashboard displays. You can now start designing your assets.
158+
3. Click **Create an account**.
159+
4. Enter an email address and a password, then click **Create an account**.
160+
<Lightbox src="scaleway-penpot-account-creation.webp" alt="" />
161+
5. Enter a name and click **Create an account** again to confirm. The Penpot dashboard displays. You can now start designing your assets.
160162
<Lightbox src="scaleway-penpot-dashboard.webp" alt="" />
161163

162-
Your Penpot Instance is now ready. For a more advanced configuration of additional features, refer to the [official documentation](https://help.penpot.app/technical-guide/configuration/).
164+
For a more advanced configuration of additional features, refer to the [official documentation](https://help.penpot.app/technical-guide/configuration/).
Binary file not shown.
118 KB
Loading

0 commit comments

Comments
 (0)