How to Install Para on Debian

Para is a decentralized social network built on the blockchain. In this tutorial, we will guide you through the process of installing Para on Debian.

Prerequisites

Before we begin, please make sure that you have the following:

Step 1: Download Para

To download Para, you need to clone the repository from GitHub. Follow these steps:

  1. Open a terminal window on your Debian system.
  2. Use the following command to install git:
sudo apt-get install git
  1. Use the following command to clone the Para repository:
git clone https://github.com/paraio/para.git

The repository will be cloned in your current working directory.

Step 2: Install Prerequisites

Para requires a few software packages to be installed before it can be built successfully.

  1. Install Node.js and NPM:
sudo apt-get install nodejs npm
  1. Install the Angular CLI:
sudo npm install -g @angular/cli
  1. Install the Ionic CLI:
sudo npm install -g @ionic/cli

Step 3: Set Up a Database

Para uses a PostgreSQL database. Follow these steps to set it up:

  1. Install PostgreSQL:
sudo apt-get install postgresql
  1. Log in to the PostgreSQL client:
sudo -u postgres psql
  1. Create a new user and database for Para:
CREATE USER para WITH PASSWORD 'your_password';
CREATE DATABASE para;
GRANT ALL PRIVILEGES ON DATABASE para TO para;
  1. Exit the PostgreSQL client:
\q

Step 4: Build and Run Para

Now that you have set up the prerequisites and the database, you can build and run Para. Follow these steps:

  1. Change to the Para directory:
cd para
  1. Install the required packages:
npm install
  1. Build the Para client:
ionic build
  1. Build the Para server:
npm run server:build
  1. Start the Para server:
npm run server:start

You should now be able to access Para in your web browser at http://localhost:3333.

Conclusion

Congratulations! You have successfully installed Para on Debian. You can now use it to connect with others in a decentralized network built on the blockchain.

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!