File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // Support for the Visual Studio Code Dev Containers extension.
2+ // For format details, see https://aka.ms/devcontainer.json.
3+ {
4+ "name" : " GameShell Dev Container" ,
5+ "build" : {
6+ // Sets the run context to be the repository root.
7+ "context" : " .." ,
8+ // Sets the filename for the "Dockerfile".
9+ "dockerfile" : " ../Dockerfile"
10+ }
11+ }
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ RUN rm -rf /var/lib/apt/lists/*
2020# install locales and set default
2121RUN sed -i 's/^# *\( en_US.UTF-8\) /\1 /' /etc/locale.gen
2222RUN sed -i 's/^# *\( fr_FR.UTF-8\) /\1 /' /etc/locale.gen
23+ RUN sed -i 's/^# *\( it_IT.UTF-8\) /\1 /' /etc/locale.gen
2324RUN locale-gen
2425RUN update-locale LANG=en_US.UTF-8
2526ENV LANG en_US.UTF-8
Original file line number Diff line number Diff line change @@ -72,6 +72,30 @@ programmes X depuis GameShell. Référez vous à [cette
7272section] ( ./doc/deps.md#running-GameShell-from-a-docker-container ) du manuel
7373d'utilisateur.
7474
75+ Github Codespaces (ou VSCode)
76+ -----------------------------
77+
78+ [ ![ Ouvrir dans un Codespace] ( https://github.com/codespaces/badge.svg )] ( https://codespaces.new/phyver/GameShell )
79+
80+ Ce dépôt est configuré pour fonctionner avec l'extension
81+ [ Dev Container] ( https://containers.dev/ ) de Visual Studio Code, ce qui permet
82+ d'utiliser GameShell depuis un
83+ [ Codespace Github] ( https://github.com/features/codespaces ) .
84+
85+ Dés que le Codespace est lancé (en cliquant sur le badge ci-dessus), utilisez
86+ la commande suivante dans le terminal pour démarrer le jeu.
87+ ``` sh
88+ bash start.sh -L fr
89+ ```
90+ Une langue alternative peut être sélectionnée avec l'option ` -L ` . Par exemple,
91+ la command suivante lance le jeu en italien.
92+ ``` sh
93+ bash start.sh -L it
94+ ```
95+
96+ Pour une expérience similaire sur votre machine, sans les limitations / coûts
97+ d'un Codespace, voire la [ doc de l'extension Dev Container] ( https://containers.dev/supporting#tools ) .
98+
7599
76100Documentation
77101-------------
Original file line number Diff line number Diff line change @@ -72,6 +72,28 @@ you want to run X programs from inside GameShell. Refer to [this
7272section] ( ./doc/deps.md#running-GameShell-from-a-docker-container ) of the user
7373manual.
7474
75+ Github Codespaces (or VSCode)
76+ -----------------------------
77+
78+ [ ![ Open in GitHub Codespaces] ( https://github.com/codespaces/badge.svg )] ( https://codespaces.new/phyver/GameShell )
79+
80+ This repository is configured to work with the Visual Studio Code
81+ [ Dev Container] ( https://containers.dev/ ) extension, which enables GameShell to
82+ be run from a [ Github Codespace] ( https://github.com/features/codespaces ) .
83+
84+ Once the Codespace is launched (via the above badge), you can run GameShell in
85+ the terminal with the following command.
86+ ``` sh
87+ bash start.sh
88+ ```
89+ An alternative language can be selected using the ` -L ` option. For example,
90+ the following command will start the game in Italian.
91+ ``` sh
92+ bash start.sh -L it
93+ ```
94+
95+ To get the same experience on your local machine without the limitations/cost
96+ of Codespaces see the [ Dev Container docs] ( https://containers.dev/supporting#tools ) .
7597
7698Documentation
7799-------------
You can’t perform that action at this time.
0 commit comments