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

Latest commit

 

History

History
72 lines (39 loc) · 1.84 KB

README.md

File metadata and controls

72 lines (39 loc) · 1.84 KB

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