Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
lektor
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Kubat
lektor
Validations
fd6e9afd
Vérifiée
Valider
fd6e9afd
rédigé
Il y a 3 ans
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
DOC: Update readme
parent
7a81da49
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion
!179
Queue download if update asked per ID
Modifications
1
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
README.md
+12
-15
12 ajouts, 15 suppressions
README.md
avec
12 ajouts
et
15 suppressions
README.md
+
12
−
15
Voir le fichier @
fd6e9afd
...
...
@@ -59,7 +59,8 @@ The manual way of installing and setting up lektor:
```
sh
cmake
-Bbuild
\
-DCMAKE_C_COMPILER
=
clang
\
# Choose the compiler
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
ON
-DCMAKE_BUILD_TYPE
=
Debug
# The debug stuff
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
ON
\
# For clangd/ccls
-DCMAKE_BUILD_TYPE
=
Debug
# The debug stuff
```
Note that the last option is here to generate the
`compile_commands.json`
, you
...
...
@@ -68,7 +69,9 @@ should copy it at the root of the project.
The sqlite database and the config file will be created automatically if needed,
i.e. on the first run. If you are upgrading lektor, the config might not be
correct. You can delete the config file or use the
`lkt admin config`
to
generate the config file again.
generate the config file again. If you are using special modules or are
compiling lektor without static modules, you may set their
**absolute path**
inside the lektor's config file.
> **Important note**: Upgrading the config or the database scheme automatically
is not supported yet. If you are experiencing weird things with lektord, please
...
...
@@ -76,9 +79,6 @@ try first to delete the database and config and regenerate them. There are
currently no way of doing a backup of playlists and stickers with lektor, this
is WIP.
If you are using special modules or are compiling lektor without static modules,
you may set their
**absolute path**
inside the lektor's config file.
## Preparing a kara for lektor
The ideal way of populating lektor is using
*Kurisu*
. The
`update`
is here for
...
...
@@ -92,15 +92,12 @@ command.
To run lektor, you can simply run the binary like:
`./lektord`
. If lektord did
not exited normally (i.e. without the
`lkt adm kill`
command), the database will
still store the fact that lektord is running. To by-pass it, you will need to
launch lektord with the
`-F`
(forced) option, like
`lektord -F`
.
It is not recommended to launch always lektord with the
`-F`
option, because
that way you could launch multiple instances of the lektod daemon, which could
results in undefined behaviours.
Lektor will use specialized software (hwdec set to yes), if you have an nvidia
card with optimus (in almose every laptop), please use
`optirun`
or
`primusrun`
:
`optirun ./lektord`
launch lektord with the
`-F`
(forced) option, like
`lektord -F`
. It is not
recommended to launch always lektord with the
`-F`
option, because that way you
could launch multiple instances of the lektod daemon, which could results in
undefined behaviours. Lektor will use specialized software (hwdec set to yes),
if you have an nvidia card with optimus (in almose every laptop), please use
`optirun`
or
`primusrun`
:
`optirun ./lektord`
### How to update the lektord database
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter