Readme
This commit is contained in:
parent
ff5f11db60
commit
e853a99373
50
README.md
50
README.md
@ -1,57 +1,41 @@
|
|||||||
# Docus Starter
|
<p align="center">
|
||||||
|
<img src="https://git.djeex.fr/Djeex/DjeexLab/raw/branch/main/docs/files/img/global/lab.svg" align="center" width="700">
|
||||||
|
|
||||||
Starter template for [Docus](https://docus.dev).
|
|
||||||
|
|
||||||
## Clone
|
[](https://docs.djeex.fr/) [](https://discord.gg/jvhardware) [](https://docs.djeex.fr/)
|
||||||
|
|
||||||
Clone the repository (using `nuxi`):
|
</p>
|
||||||
|
# 🔧 De la doc, encore de la doc
|
||||||
|
**Djeex Lab** c'est avant tout un projet personnel visant à héberger chez soi le plus de services possibles du quotidien sans passer par des plateformes propriétaires (Google, Apple, Netflix...). Cette doc utilise [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/)
|
||||||
|
|
||||||
```bash
|
Ce repo contient de quoi modifier les pages, ajouter vos changements, et redéployer le site.
|
||||||
npx nuxi init -t themes/docus
|
|
||||||
```
|
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
Install dependencies:
|
Installer les dépendances
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Development
|
## Environnement de dévelopment (port 3000)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## Edge Side Rendering
|
## Génération des pages statiques
|
||||||
|
|
||||||
Can be deployed to Vercel Functions, Netlify Functions, AWS, and most Node-compatible environments.
|
|
||||||
|
|
||||||
Look at all the available presets [here](https://v3.nuxtjs.org/guide/deploy/presets).
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn build
|
npm run generate
|
||||||
```
|
```
|
||||||
|
|
||||||
## Static Generation
|
Les fichiers HTML seront générés dans le dossier .output/public et prêts à être déployés sur n'importe quel hébergement compatible avec un site statique.
|
||||||
|
|
||||||
Use the `generate` command to build your application.
|
|
||||||
|
|
||||||
The HTML files will be generated in the .output/public directory and ready to be deployed to any static compatible hosting.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
yarn generate
|
|
||||||
```
|
|
||||||
|
|
||||||
## Preview build
|
## Preview build
|
||||||
|
|
||||||
You might want to preview the result of your build locally, to do so, run the following command:
|
Si vous voulez voir immédiatement le résultat de la génération du site vous pouvez lancer un serveur de preview :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn preview
|
npm run preview
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
For a detailed explanation of how things work, check out [Docus](https://docus.dev).
|
|
Loading…
x
Reference in New Issue
Block a user