Welcome

Hyper.sh

pimentaCHAT is a web chat application for communities and companies wanting to privately host their own chat service or for developers looking to build and evolve their own chat platforms. In this guide, we will demonstrate how to deploy a pimentaCHAT container connected with a MongoDB container in seconds.

1. Register for your free Hyper credits

First take 2 minutes to sign up for Hyper, receive your free credits and install the CLI: https://docs.hyper.sh/GettingStarted/index.html

2. Create a floating IP address

$ hyper allocate 1
xxx.xxx.xxx.xxx <-- Your floating IP

3. Clone the compose file

$ git clone https://github.com/hyperhq/Hyper_pimentaCHAT.git
Cloning into 'Hyper_pimentaCHAT'...
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 11 (delta 2), reused 10 (delta 1), pack-reused 0
Unpacking objects: 100% (11/11), done.
Marks-MacBook:workspace markcoleman$ cd Hyper_pimentaCHAT/

4. Add your FIP to the compose file

$ cat pimentachat_mongodb
version: '2'
services:
  db:
    image: mongo
    restart: always

  pimenta.chat:
    depends_on:
      - db
    image: pimenta.chat
    fip: <YOUR FLOATING IP GOES HERE>
    links:
      - db
    ports:
      - "3000:3000"
    restart: always

5. Start pimentaCHAT

$ hyper compose up -f pimentachat_mongodb
Project [hyperpimentachat]: Starting project
[0/2] [db]: Starting
[1/2] [db]: Started
[1/2] [pimenta.chat]: Starting
...

Done

Try http://<YOUR FIP GOES HERE>:3000 in your browser!