Skip to content

Commit 45c011f

Browse files
committed
Update READMEs
1 parent 87eadc9 commit 45c011f

File tree

2 files changed

+27
-6
lines changed

2 files changed

+27
-6
lines changed

LISEZMOI.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@ où il était disponible avec des fonctions en plus.
2929

3030
Vous pouvez télécharger les exécutables depuis la page [Actions](https://github.com/Dadoum/Provision/actions) du projet.
3131

32+
## Conteneur Docker
33+
34+
Si vous souhaitez créer un serveur Anisette pour votre usage personnel ou créer un serveur public, vous pouver utiliser
35+
Docker ou Podman. Dans ce cas, il vous suffira de lancer la commande suivante pour configurer un serveur directement :
36+
37+
```bash
38+
docker run -d -v provision_config:/home/Chester/.config/Provision/ --restart=always -p 6969:6969 --name anisette dadoum/anisette-server:latest
39+
```
40+
41+
Cette commande récupèrera l'image Docker et l'exécutera immédiatemnt. Le volume
42+
(`provision_config:/home/Chester/.config/Provision/`) mettra en cache la configuration de Provision.
43+
44+
Cette configuration inclut les bibliothèques d'Apple Music (qui ne sont pas redistribuées pour des raisons légales), le
45+
fichier ADI (identifiant un faux Mac auprès d'Apple) et le fichier d'appareil de Provision (indiquant à Provision les
46+
informations du Mac).
47+
3248
## Dépendances
3349

3450
Pour lancer les programmes vous devrez extraire les bibliothèques de l'application Android Apple
@@ -112,4 +128,4 @@ void main() {
112128

113129
## Soutien
114130

115-
Vous pouvez me soutenir en faisant un don avec GitHub Sponsor.
131+
Vous pouvez me soutenir en faisant un don avec GitHub Sponsors.

README.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,20 @@ with few more features.
3030

3131
You can download the executables in the [Actions](https://github.com/Dadoum/Provision/actions) tab of the project.
3232

33-
## Docker
33+
## Docker container
3434

35-
If you wish to run Anisette within docker to host a server public or privately. Make sure to install docker/podman and run the following command:
35+
If you wish to run Anisette within docker to host a server public or privately. Make sure to install docker/podman
36+
and run the following command:
3637

3738
```bash
38-
docker run -d -v lib_cache:/opt/lib/ --restart=always -p 6969:6969 --name anisette dadoum/anisette-server:latest
39+
docker run -d -v provision_config:/home/Chester/.config/Provision/ --restart=always -p 6969:6969 --name anisette dadoum/anisette-server:latest
3940
```
4041

41-
The above command will pull the image and also run it in the background. The volume (lib_cache:/opt/lib/) will cache the libraries needed that are fetched at runtime. This is done as to not redistribute Applemusic lib's.
42+
The above command will pull the image and also run it in the background. The volume
43+
(`provision_config:/home/Chester/.config/Provision/`) will cache Provision's configuration folder.
44+
45+
It contains Apple Music libraries (from Apple, which are not redistributed for legal reasons), ADI file (identifying the
46+
device as a Mac computer for Apple) and Provision's device file (storing the corresponding device information for Provision).
4247

4348
## Dependencies
4449

@@ -122,4 +127,4 @@ void main() {
122127

123128
## Support
124129

125-
Donations are welcome with GitHub Sponsor.
130+
Donations are welcome with GitHub Sponsors.

0 commit comments

Comments
 (0)