Skip to content

aureleoules/epitaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPITAF

Virtual agenda for EPITA.

Contributing

Here is the process to install EPITAF's development environment.

  1. Start the database & backend
$ cp .env.sample .env 
$ docker-compose up -d
$ go build
$ ./epitaf init
$ ./epitaf start
  1. Add a user
$ docker exec -it epitafdb echo 'INSERT INTO users (login, name, email, promotion, semester, region, class) values ("your.login", "Your Name", "your.email@epita.fr", 2024, "S5", "Paris", "A2")' | mysql -uroot -proot -h127.0.0.1 epitaf
  1. Setup UI
$ cd ui
$ echo 'REACT_APP_API_ENDPOINT=http://localhost:8080/v1' > .env
$ yarn
$ yarn start
  1. Login
$ ./epitaf login your.email@epita.fr
> click the link

Checkout localhost:3000.