---
# System prepended metadata

title: Setup and Execution

---

# Setup and Execution

### Specific to the first run

1. At the terminal, run `docker-compose up`. The flowable container will fail because there is no database to connect to.
2. Open your browser and head to localhost:80 in order to open pgadmin. Login with the credentials presented at the **.env** file.
3. Create the database server. At the connection tab, **host name -> postgres** (same as container name) and **port -> 5432**. **User, Password** -> available at the **.env** file.
4. Finally, add a database with the name **flowable**.

### Build Flowable's .jar

1. At the terminal and inside flowable's folder, run `mvn install -DskipTests`. This can also be done inside IntelliJ IDEA by heading to View -> Tool Windows -> Maven, toggling Skip Tests Mode and install.

### Subsequent runs

1. At the terminal, run `docker-compose up`. If the database has no tables, flowable will create them.
2. **Flowable** container is ready to receive requests at **localhost:8080**. You can also open **React at localhost:3000**.

### Running just react container

1. `docker-compose up web-app`