---
title: Install manually
project: OpenPlatform
version: 5
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openplatform/5/guides/install-manual/
updated: 2026-11-19T04:31:09.310Z
---

# Install manually

> Install OpenPlatform from the source code with Node.js and PostgreSQL.

This page installs OpenPlatform from its source code. Check the [requirements](../requirements/) first.

## Create the database

Create an empty PostgreSQL database for OpenPlatform:

```bash
createdb openplatform
```

## Download the app

```bash
git clone https://github.com/totaljs/openplatform.git
cd openplatform
npm install
```

## Set the database connection

Open the `config` file in the root of the app and replace its content with your connection string:

```text
database : postgresql://user:password@localhost:5432/openplatform
```

## Start the app

```bash
node index.js --release
```

OpenPlatform creates its tables and listens on port **8000**. Open `http://127.0.0.1:8000` in your browser.

To use another port, add the number to the command:

```bash
node index.js 8080 --release
```

## Next step

Continue with the [first sign-in](../first-sign-in/) and change the default password at once.

See [Configuration file and start options](../../reference/configuration-file/) for every option.
