-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
-
Install the supported version of project dependencies on your Fedora Linux installation.
$ sudo dnf install python3 python3-virtualenv poetry nodejs-npm
$ sudo dnf install redis coreutils util-linux
-
Clone the repository to your local storage and make the project directory your present working directory.
$ git clone https://github.com/gridhead/syncstar.git
$ cd syncstar
-
Establish a virtual environment within the project directory and activate it for installing dependencies.
$ virtualenv venv
$ source venv/bin/activate
-
Check the validity of the project configuration file and install the dependencies from the lockfile.
(venv) $ poetry check
(venv) $ poetry install
-
Make the frontend directory your present working directory and install the dependencies from the lockfile.
$ cd frontend
$ npm install
This method of installation is slightly recommended, but it can only work on Fedora Linux installations.
-
Install the supported version of project dependencies on your Fedora Linux installation.
$ sudo dnf install python3 python3-virtualenv
$ sudo dnf install redis coreutils util-linux
-
Install the package from the official Fedora Linux package repositories by executing the following command.
$ sudo dnf update --refresh
$ sudo dnf install syncstar
-
Configure the service unit files for the endpoint service and worker service in the system services directory.
$ sudo wget https://raw.githubusercontent.com/gridhead/syncstar/main/syncstar/system/endpoint.service -O /etc/systemd/system/ss-endpoint.service
$ sudo wget https://raw.githubusercontent.com/gridhead/syncstar/main/syncstar/system/worker.service -O /etc/systemd/system/ss-worker.service
-
Enable and start the service units for endpoint service and worker service of SyncStar.
$ sudo systemctl enable --now ss-endpoint.service
$ sudo systemctl enable --now ss-worker.service
This method of installation is slightly discouraged, but it can work on most GNU/Linux distributions.
-
Install the supported version of Python, Python Package Installer, Redis, CoreUtils, and Util Linux on your installation.
$ sudo dnf install python3 python3-virtualenv python3-pip
$ sudo dnf install redis coreutils util-linux
-
Elevate the privileges to the superuser level and install the
syncstar
package from Python Package Index repositories.$ sudo -s
# pip3 install syncstar
-
Configure the service unit files for the endpoint service and worker service in the system services directory.
$ sudo wget https://raw.githubusercontent.com/gridhead/syncstar/main/syncstar/system/endpoint.service -O /etc/systemd/system/ss-endpoint.service
$ sudo wget https://raw.githubusercontent.com/gridhead/syncstar/main/syncstar/system/worker.service -O /etc/systemd/system/ss-worker.service
-
Enable and start the service units for endpoint service and worker service of SyncStar.
$ sudo systemctl enable --now ss-endpoint.service
$ sudo systemctl enable --now ss-worker.service
SyncStar - Copyright (C) 2024 Akashdeep Dhar - Licensed under GNU AGPLv3+