Skip to content

Selleo/til

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Til

Prerequisites

In order to run this project you will need to have installed

Setup

  • git clone <this repo>

  • cd til

Backend

  • go to project -> cd backend

  • setup environments base on .env.template or .env.template.docker when you want to run app with docker - ask for needed secrets

Run with Docker
  • build -> docker-compose build

  • run -> docker-compose up

Development setup
  • export environments source .env

  • download dependencies -> mix deps.get

  • setup database -> mix ecto.setup

  • start project -> iex -S mix phx.server

Frontend

This project was bootstrapped with Create React App

  • go to project -> cd frontend
Development setup
  • install dependencies -> npm install

  • start project -> npm start

  • open http://localhost:3000 to view it in the browser.

Running the tests

Backend

  • In order to run tests you need to go through raw project setup, and then -> mix test

Frontend

  • run tests -> npm test

Deployment

Comming soon

Versioning

Comming soon