aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/setup.md
blob: 99e029c60c428b706e6a4e23e26ee9767a333e7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Setup

Clone the [hubzilla-ddev repository]:
```
% git clone https://code.volse.net/hubzilla/hubzilla-ddev.git
```

Now clone the Hubzilla core repository into the `core` subdirectory:
```
% cd hubzilla-ddev && git clone https://framagit.org/hubzilla/core.git
```

Then set up the hubzilla installation as usual:
```
% cd core
% mkdir -m 775 -p store/\[data\]/smarty3
% ./util/add_addon_repo https://framagit.org/hubzilla/addons.git hzaddons
```

You should now be ready to start the server:
```
% ddev start
```

This will generate and download the required docker containers, and start all the services. Once it's started you should be able to access the instance at `https://hubzilla-ddev.ddev.site`[^note] to finish the installation and create the administrator account and channel.

[hubzilla-ddev repository]: https://code.volse.net/hubzilla/hubzilla-ddev.git/
[^note]: If you cloned the repo to another directory than `hubzilla-ddev`, the URL for the site will be the name of your directory followed by `.ddev.site`.