-
Notifications
You must be signed in to change notification settings - Fork 72
Debian package
Our Pixelated Debian repository has been discontinued. Latest working packages can now be found on our release page.
NOTE: In the steps below, the dpkg -i ...
step is an intermediate one and might throw errors that will be resolved automatically when the apt-get install...
step is run. Any errors on the apt-get install ...
step are the ones that need to be resolved manually.
cd /tmp
wget https://github.com/pixelated/pixelated-user-agent/releases/download/1.0_beta1/pixelated-user-agent_0.6.699.gbpc8f588_all.deb
dpkg -i pixelated-user-agent_0.6.699.gbpc8f588_all.deb
apt-get install -f
The pixelated-server
packages runs the user-agent
in multi-user mode as a service. Please install the user-agent
as shown above, then:
wget https://github.com/pixelated/pixelated-user-agent/releases/download/1.0_beta1/pixelated-server_0.2.162.gbpba0081_all.deb
dpkg -i pixelated-server_0.2.162.gbpba0081_all.deb
apt-get install -f
Unofficial but automatically triggered builds can be found at https://0xacab.org/pixelated/pixelated-user-agent/pipelines (click on the download symbol and choose "Download Artifacts").
This will download a file called artifacts.zip
which can get extracted with:
unzip artifacts.zip
Then, you can install the user-agent
with:
dpkg -i pixelated-user-agent_..._all.deb
apt-get install -f
To build your own Debian packages from your machine, you will need to install Gitlab-runner and docker, so you should follow these steps:
sudo wget -O /usr/local/bin/gitlab-runner https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-linux-amd64 # download gitlab-runner
sudo chmod +x /usr/local/bin/gitlab-runner # set gitlab-runner as executable
curl -sSL https://get.docker.com/ | sh # to install docker
sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash # adds gitlab-runner user
There are more information about Gitlab-runner here
There are two packages needed for a server installation, pixelated-user-agent
and pixelated-server
.
In the rare situation where you need to build the pixpybuild
package you can do it with these instructions as well (but you really shouldn't need to).
In this example we build the user-agent package, but the steps for building other packages are the same:
export BUILD_PROJECT=pixelated-user-agent
git clone https://github.com/pixelated/${BUILD_PROJECT}.git
cd ${BUILD_PROJECT}
sudo gitlab-runner exec docker --docker-volumes "/tmp/pixelated_buildpackage/${BUILD_PROJECT}:/tmp/docker_volume:rw" package
The resulting package will be located at /tmp/pixelated_buildpackage/${BUILD_PROJECT}/project-0/
.