elixir-berlin / juntos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Elixir 81.2%Language:CSS 8.2%Language:JavaScript 4.9%Language:SCSS 2.6%Language:HTML 1.9%Language:Shell 0.6%Language:Dockerfile 0.5%