You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following is useful for pulling the latest staging/beta changes from GitHub and compiling the changes.
75
+
76
+
::: info
77
+
The following method only supports building the `hestia` package. If you need to build `hestia-nginx` or `hestia-php`, use one of the previous commands.
78
+
:::
79
+
80
+
1. Install Node.js [Download](https://nodejs.org/en/download) or use [Node Source APT](https://github.com/nodesource/distributions)
81
+
82
+
1. Install [Yarn](https://yarnpkg.com/getting-started/install) via `corepack enable`
83
+
84
+
```bash
85
+
v-update-sys-hestia-git [USERNAME] [BRANCH]
86
+
```
87
+
88
+
**Note:** Sometimes dependencies will get added or removed when the packages are installed with `dpkg`. It is not possible to preload the dependencies. If this happens, you will see an error like this:
Copy file name to clipboardExpand all lines: docs/docs/contributing/development.md
+1-95Lines changed: 1 addition & 95 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ multipass mount $HOME/projects/hestiacp hestia-dev:/home/ubuntu/hestiacp
51
51
sudo apt update && sudo apt install -y jq libjq1
52
52
```
53
53
54
-
1. Install [Node JS](https://nodejs.org/en) and Yarn `npm install --global yarn`
54
+
1. Install [Node JS](https://nodejs.org/en) and Yarn via `corepack enable`
55
55
56
56
1. Build the theme files with
57
57
@@ -145,100 +145,6 @@ You can delete the backups by running `rm -rf /root/hst_backups` as root user on
145
145
146
146
Please refer to the [contributing guidelines](https://github.com/hestiacp/hestiacp/blob/main/CONTRIBUTING.md) for more details on submitting code changes for review.
147
147
148
-
### Building packages
149
-
150
-
::: info
151
-
For building `hestia-nginx` or `hestia-php`, at least 2 GB of memory is required!
152
-
:::
153
-
154
-
Here is more detailed information about the build scripts that are run from `src`:
Any option can be appended to the installer command. [See the complete list](../introduction/getting-started#list-of-installation-options).
216
-
217
-
## Updating Hestia from GitHub
218
-
219
-
The following is useful for pulling the latest staging/beta changes from GitHub and compiling the changes.
220
-
221
-
::: info
222
-
The following method only supports building the `hestia` package. If you need to build `hestia-nginx` or `hestia-php`, use one of the previous commands.
223
-
:::
224
-
225
-
```bash
226
-
v-update-sys-hestia-git [USERNAME] [BRANCH]
227
-
```
228
-
229
-
**Note:** Sometimes dependencies will get added or removed when the packages are installed with `dpkg`. It is not possible to preload the dependencies. If this happens, you will see an error like this:
230
-
231
-
```bash
232
-
dpkg: error processing package hestia (–install):
233
-
dependency problems - leaving unconfigured
234
-
```
235
-
236
-
To solve this issue, run:
237
-
238
-
```bash
239
-
apt install -f
240
-
```
241
-
242
148
## Running automated tests
243
149
244
150
For automated tests we currently use [Bats](https://github.com/bats-core/bats-core).
Copy file name to clipboardExpand all lines: docs/docs/server-administration/databases.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,3 +87,34 @@ Automated can sometimes cause issues. Login via SSH and open `/var/log/{webserve
87
87
2. If you are behind a firewall or proxy, you may want to disable it and try again.
88
88
-`Link has expired`
89
89
1. Refresh the database page and try again.
90
+
91
+
## Remote databases
92
+
93
+
If needed you can simply host Mysql or Postgresql on a remote server.
94
+
95
+
To add a remote database:
96
+
97
+
```bash
98
+
v-add-database-host TYPE HOST DBUSER DBPASS [MAX_DB] [CHARSETS] [TPL] [PORT]
99
+
```
100
+
101
+
For example:
102
+
103
+
```bash
104
+
v-add-database-host mysql db.hestiacp.com root mypassword 500
105
+
```
106
+
107
+
If you want you can setup phpMyAdmin on the host server to allow to connect to the database. Create a copy of `01-localhost` file in /etc/phpmyadmin/conf.d and change:
0 commit comments