orion/doc/prepa-dev.md

24 lines
577 B
Markdown
Raw Normal View History

2018-09-17 14:17:54 +02:00
# Préparer son environnement de développement
### Dépendances
- [Go >= 1.11](https://golang.org/dl/)
### Procédure
1. Installer les outils de développement. Cette opération va notamment générer les bindings Qt pour l'application `notebook`. **Cette étape peut durer un certain temps**.
```shell
make install-devtools
```
2. Lancer le serveur
```shell
make watch
```
3. (Optionnel mais recommandé) Installer le hook Git `pre-commit`
```shell
rm -f .git/hooks/pre-commit.sample
ln -s "$PWD/misc/git-hooks/pre-commit" .git/hooks/pre-commit
2018-09-17 14:17:54 +02:00
```