PushBits is a server that facilitates push notifications between client applications and servers. Here's how to install it on Debian Latest:
apt-get
cd /opt
sudo git clone https://github.com/pushbits/server.git
server
directory.cd server
sudo npm install
sudo cp config.sample.json config.json
sudo nano config.json
port
to the port you want the server to listen on. The default is 3000
.mongoURL
to the URL of your MongoDB server. If you don't have one, you can use a cloud-based service like MongoDB Atlas or run one on the same server as PushBits.apiKey
to a long, random string that will be used to authenticate client applications. You can generate one using a tool like RandomKeygen.Save and close the configuration file.
Start the PushBits server.
sudo node index.js
Congratulations! You have successfully installed PushBits on Debian Latest. Your server is now up and running, ready to receive push notifications from client applications.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!