Requirement:
- Linux server
- RP_API_KEY
- RP_EMAIL
Steps:
- Download the binary file for linux with different architecture:
linux-amd64 | |
linux-arm | Update soon |
- Command to download:
wget https://repocket-production.s3.fr-par.scw.cloud/repocket-executable/repocket-linux-amd64 sudo mv repocket-linux-amd64 /usr/local/bin sudo chmod +x /usr/local/bin/repocket
2. Start your repocket:
- With
binary
# Replace email and API key to match your your credentials, this command will make your repocket run in the background, but when the server reboots or crashes. You need to run this command again RP_EMAIL=<YOUR_EMAIL> RP_API_KEY=<YOUR_API_KEY> ./usr/local/bin/repocket> repocket.log &
- As a service
- Create an environment file at
/etc/default/repocket
, replace email and API key
- Create an environment file at
RP_EMAIL=<YOUR_EMAIL> RP_API_KEY=<YOUR_API_KEY>
- Create a service file at
/etc/system/systemd/repocket.service
:
[Unit] Description=Repocket [Service] User=root Group=root EnvironmentFile=/etc/default/repocket ExecStart=/usr/local/bin/repocket [Install] WantedBy=multi-user.target
- Start service:
sudo systemctl start repocket
- Restart service:
sudo systemctl restart repocket
- Enable service start at boot:
sudo systemctl enable repocket
For MacOS
- Download and install:
- Apple Silicon CPU
$ wget https://repocket-production.s3.fr-par.scw.cloud/repocket-executable/repocket-darwin-arm64 $ sudo mv repocket-darwin-arm64 /usr/local/bin $ sudo chmod +x /usr/local/bin/repocket
- Intel CPU (update soon)
- Start repocket with binary
# Replace email and API key to match your your credentials, this command will make your repocket run in the background, but when the server reboots or crashes. You need to run this command again RP_EMAIL=<YOUR_EMAIL> RP_API_KEY=<YOUR_API_KEY> ./usr/local/bin/repocket > repocket.log &
For Windows (update soon)
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article