Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.47 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.47 KB

croque

Croque ?

Croque is the next project from AGEPinfo. The dev team is composed of Gauthier de Chezelles and Jean-Baptiste Beau for the frontend, and Louis Merlin for the backend. With the app you will be able to meet people to have lunch with at EPFL.

What are these files supposed to be ?

This is croque's backend.

This server uses docker-compose, which itself uses docker.

Basically, you run an instance of the database, an instance of the api, an instance of the admin interface and an instance of the reverse proxy server nginx, all orchestrated by docker-compose. They are independent to each other AND to the platform they are running on. You won't have to install anything but docker on your machine !! See here to install.

Ok, now what ?

First, get the files. You can clone the repo by firing up the terminal and executing:

git clone https://github.com/louismerlin/croque

This will create a croque directory, where the files live.

You can then go to croque (cd croque), and launch the server with:

docker-compose build
docker-compose up

Just hit ctrl-c when you are done (mabye cmd-c on mac, I have no idea) and the processes will stop themselves gracefully.

While the server is up, you will be able to see the admin interface at localhost:8080 and play with the api at localhost:8081.