Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

elixir-berlin/juntos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

64dd058 · Sep 21, 2020
Aug 16, 2020
Sep 20, 2020
Sep 21, 2020
Sep 20, 2020
Aug 14, 2020
Jun 26, 2020
Sep 20, 2020
Jun 26, 2020
Jun 30, 2020
Sep 20, 2020
Jun 30, 2020
Sep 20, 2020
Aug 17, 2020
Jun 30, 2020
Jun 26, 2020
Jun 30, 2020
Jun 30, 2020
Jun 26, 2020
Sep 20, 2020
Sep 20, 2020

Repository files navigation

Juntos

Build communities with people who share your interests.

| | codecov

Description

TODO: Describe goals of the project

Architecture

Web: Phoenix Framework & Phoenix LiveView

Development

For development, we recommend to use docker-compose.

First run docker-compose up --build and wait until containers are up. Juntos is reachable at http://localhost:4000/

In case you want to running it as a single docker image:

  1. Build the combo docker image with
docker build -t juntos:dev .
  1. Start container:
docker run --name juntos-dev -e PORT=3030 -p 3030:3030 -e DATABASE_URL="postgres://postgres:postgres@<YOUR LOCAL IP>:5432/postgres" juntos:dev
# eg.
docker run --name juntos-dev -e PORT=3030 -p 3030:3030 -e DATABASE_URL="postgres://postgres:postgres@192.168.0.12:5432/postgres" juntos:dev
  1. Stop container
docker stop juntos-dev && docker container rm juntos-dev

Running postgres within a docker image:

docker run --rm --name pg-docker -d -p 5432:5432 postgres:9.6-alpine

Deployment

TODO: setup containerised deployment

License

Released under the MIT License. TODO: add license file