Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
(chore)readme: add translations folder (#404)
Browse files Browse the repository at this point in the history
Signed-off-by: ksatchit <[email protected]>
  • Loading branch information
Karthik Satchitanand authored Oct 26, 2020
1 parent f0c4c98 commit b1acf2a
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

**Checklist:**
- [ ] Fixes #<issue number>
- [ ] Signed the commit for DCO to be passed
- [ ] Signed the commit for [DCO](https://github.com/litmuschaos/litmus-docs/blob/master/CONTRIBUTING.md#sign-your-work) check to be passed
- [ ] Labelled this PR & related issue with `documentation` tag
49 changes: 25 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

Documentation pour le projet Litmus
# Documentation for the Litmus Project

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Flitmuschaos%2Flitmus-docs.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Flitmuschaos%2Flitmus-docs?ref=badge_shield)
[![Slack Channel](https://img.shields.io/badge/Slack-Join-purple)](https://slack.litmuschaos.io)
Expand All @@ -14,94 +13,96 @@ Documentation pour le projet Litmus
![GitHub top language](https://img.shields.io/github/languages/top/litmuschaos/litmus-docs)


Une description détaillée de projet Docusaurus est disponible
[ici](https://docusaurus.io/docs/en/installation.html).
#### *Read this in [other languages](translations/TRANSLATIONS.md).*

[FR](translations/README-fr.md)

## Pour les développeurs
Additional details on the Docusaurus project can be found [here](https://docusaurus.io/docs/en/installation.html).

### Cloner le répertoire litmus-docs
## For Developers

### Clone litmus-docs repository

```bash
git clone https://github.com/litmuschaos/litmus-docs.git
cd litmus-docs
```

Le serveur de site web documentaire peut être configuré manuellement ou en utilisant docker compose
The docs website server can be setup manually or through docker compose

## Utiliser les commandes embedmd avant de commiter les changements
## Use embedmd command before commiting changes

Le code incorporé sera extrait du fichier à `URL`, qui peut être un chemin relatif vers un autre dans le fichier de système local( en utilisant les barres obliques comme spérateur de répertoire) ou une URL commençant par `http://` ou `https://.`
The embedded code will be extracted from the file at `URL`, which can either be a relative path to a file in the local file system (using forward slashes as directory separator) or a URL starting with `http://` or `https://.`

_Installation:_

- Il faut bien vérfier que [golang](https://github.com/golang/go) est installé. On a juste besoin d'exécuter la commande ci-dessous pour installer embedmd.
- Make sure you have [golang](https://github.com/golang/go) installed. We just need to run the following command to install embedmd.

```bash
go get github.com/campoy/embedmd
```

_Exécution embedmd (doît être faite avant de commiter les modifications):_
_Run embedmd (needs to be done before commiting the changes):_

- Suivez les étapes ci-dessous(à partir de répertoire root) pour exécuter embedmd:
- Follow the steps (from root directory) to run embedmd:

```bash
cd docs
embedmd -w $(find *.md)
```
_Vérifier la différence:_
_Check the difference:_

- L'exécution de cette commmande `embedmd -d docs-name.md` révelera la différence entre le contenu de docs-name.md et le résultat de embedmd docs-name.md.
- Executing `embedmd -d docs-name.md` will display the difference between the contents of docs-name.md and the output of embedmd docs-name.md.


## La configuration manuelle
## Manual Setup

### Installer Node.js
### Install Node.js

```bash
sudo apt-get install software-properties-common
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
```

### Télécharger la dérniére version Node.js
### Get the latest Node.js package

```bash
sudo apt-get install -y nodejs
```

### Installer Yarn
### Install Yarn

```bash
npm install -g yarn
```

### Démarrer le serveur
### Start the server

```bash
cd website
yarn install
yarn start
```

## La configuration via Docker compose
## Using Docker compose

### Installer docker compose
### Install docker compose

```bash
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
```

### Démarrer le serveur
### Run the server

```bash
docker-compose up
```


## Parcourir la documentation locale
## Browse local documentation
http://localhost:3000/docs/next/getstarted.html


## License

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Flitmuschaos%2Flitmus-docs.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Flitmuschaos%2Flitmus-docs?ref=badge_large)
107 changes: 107 additions & 0 deletions translations/README-fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@

Documentation pour le projet Litmus

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Flitmuschaos%2Flitmus-docs.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Flitmuschaos%2Flitmus-docs?ref=badge_shield)
[![Slack Channel](https://img.shields.io/badge/Slack-Join-purple)](https://slack.litmuschaos.io)
[![Docker Pulls](https://img.shields.io/docker/pulls/litmuschaos/ansible-runner.svg)](https://hub.docker.com/r/litmuschaos/ansible-runner)
[![GitHub stars](https://img.shields.io/github/stars/litmuschaos/litmus-docs?style=social)](https://github.com/litmuschaos/litmus-docs/stargazers)
[![GitHub issues](https://img.shields.io/github/issues/litmuschaos/litmus-docs)](https://github.com/litmuschaos/litmus-docs/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/litmuschaos/litmus-docs?logo=git)](https://github.com/litmuschaos/litmus-docs/pulls)
[![Twitter Follow](https://img.shields.io/twitter/follow/litmuschaos?style=social)](https://twitter.com/LitmusChaos)
[![YouTube Channel](https://img.shields.io/badge/YouTube-Subscribe-red)](https://www.youtube.com/channel/UCa57PMqmz_j0wnteRa9nCaw)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat&logo=github)](https://github.com/litmuschaos/litmus-docs/pulls)
[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/litmuschaos/litmus-docs)
![GitHub top language](https://img.shields.io/github/languages/top/litmuschaos/litmus-docs)


Une description détaillée de projet Docusaurus est disponible
[ici](https://docusaurus.io/docs/en/installation.html).

## Pour les développeurs

### Cloner le répertoire litmus-docs

```bash
git clone https://github.com/litmuschaos/litmus-docs.git
cd litmus-docs
```

Le serveur de site web documentaire peut être configuré manuellement ou en utilisant docker compose

## Utiliser les commandes embedmd avant de commiter les changements

Le code incorporé sera extrait du fichier à `URL`, qui peut être un chemin relatif vers un autre dans le fichier de système local( en utilisant les barres obliques comme spérateur de répertoire) ou une URL commençant par `http://` ou `https://.`

_Installation:_

- Il faut bien vérfier que [golang](https://github.com/golang/go) est installé. On a juste besoin d'exécuter la commande ci-dessous pour installer embedmd.

```bash
go get github.com/campoy/embedmd
```

_Exécution embedmd (doît être faite avant de commiter les modifications):_

- Suivez les étapes ci-dessous(à partir de répertoire root) pour exécuter embedmd:

```bash
cd docs
embedmd -w $(find *.md)
```
_Vérifier la différence:_

- L'exécution de cette commmande `embedmd -d docs-name.md` révelera la différence entre le contenu de docs-name.md et le résultat de embedmd docs-name.md.


## La configuration manuelle

### Installer Node.js

```bash
sudo apt-get install software-properties-common
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
```

### Télécharger la dérniére version Node.js

```bash
sudo apt-get install -y nodejs
```

### Installer Yarn

```bash
npm install -g yarn
```

### Démarrer le serveur

```bash
cd website
yarn install
yarn start
```

## La configuration via Docker compose

### Installer docker compose

```bash
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
```

### Démarrer le serveur

```bash
docker-compose up
```


## Parcourir la documentation locale
http://localhost:3000/docs/next/getstarted.html


## License

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Flitmuschaos%2Flitmus-docs.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Flitmuschaos%2Flitmus-docs?ref=badge_large)
6 changes: 6 additions & 0 deletions translations/TRANSLATIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Translations

| | Translated Link |
| --- | --- |
| GB | [English](../README.md) |
| FR | [French](README-fr.md) |

0 comments on commit b1acf2a

Please sign in to comment.