To set up a native installation of RudderStack, you will need to set up and install the following tools in your development environment:
First, set up the database in your preferred directory using the following commands:
createdb jobsdbcreateuser --superuser rudderpsql "jobsdb" -c "alter user rudder with encrypted password 'rudder'";psql "jobsdb" -c "grant all privileges on database jobsdb to rudder";
Sign up and log into the RudderStack dashboard. Copy your workspace Token from the top of the page, as shown:
Create a directory for the RudderStack server using the following command:
Go to the RudderStack GitHub repository, download the latest binary for your target system, and move it to the
Create a directory for the RudderStack transformer using the following command:
Go to the RudderStack Transformer page in the GitHub repo and download the latest release package. Then, extract it in the
Navigate to the transformer directory using the following command:
Then, install the dependencies using the command
npm i .
Next, start the destination transformer using the following command:
Navigate back to the main directory using the command
Then, create a
.env file, and copy the contents of the
sample.env file into this
WORKSPACE_TOKEN environment variable in this
.env file with the token that you copied from your RudderStack dashboard.
Finally, run the RudderStack server using the following command:
Once you have completed these steps above successfully, send test events to verify the installation.