epitaf

command module
v0.0.0-...-8d7c3bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2022 License: MIT Imports: 1 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
lib
cri

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL