Wiki source code of XWiki Snap developer guide

Last modified by Vedant Pol on 2022/09/05 15:41

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc /}}{{/box}}
2
3 = Building XWiki snap =
4
5 === Prerequisites to build ===
6
7 You'll need to perform 3 mandatory steps to build the snap :
8 * [[install snapd>>https://snapcraft.io/docs/installing-snapd]]
9 * [[installing snapcraft and multipass>>https://snapcraft.io/docs/snapcraft-overview]]
10 * building the XWiki snap
11
12 Run the following commands to install **snapcraft** and **multipass** after installing snapd :
13 {{code}}
14 sudo snap install snapcraft --classic
15 sudo snap install multipass
16 {{/code}}
17
18 === Building the snap ===
19
20 * clone the repository
21 * cd into xwiki-jetty
22 * run snapcraft
23
24 This will build the xwiki_13.10.8_amd64.snap
25 {{info}} cd into the directory of the snap you would like to build {{/info}}
26 {{info}} eg. cd into xwiki-base-snap folder to build xwiki-base-snap {{/info}}
27
28 === Installing the snap ===
29
30 Make sure you are in the directory where the snap is built
31 {{code}}
32 sudo snap install xwiki_13.10.8_amd64.snap --dangerous
33 {{/code}}
34
35 {{warning}}
36 xwiki-base-snap and xwiki-mysql-snap has been depriciated. xwiki-jetty snap is the official snap.
37 {{/warning}}
38
39

Get Connected