Skip to content

agepoly/croque

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.