diff options
-rw-r--r-- | source/website/Documents/situation-pro-1.md (renamed from source/website/Documents/stage-1.md) | 4 | ||||
-rw-r--r-- | source/website/Documents/situation-pro-2.md | 86 | ||||
-rw-r--r-- | source/website/Documents/stage-2.md | 11 |
3 files changed, 87 insertions, 14 deletions
diff --git a/source/website/Documents/stage-1.md b/source/website/Documents/situation-pro-1.md index 985d68a9..2f22c5d5 100644 --- a/source/website/Documents/stage-1.md +++ b/source/website/Documents/situation-pro-1.md @@ -5,7 +5,5 @@ </nav> --- -title: 'Stage année 1' +title: 'Situtation n°1' --- - -Stage 1 !!!! diff --git a/source/website/Documents/situation-pro-2.md b/source/website/Documents/situation-pro-2.md new file mode 100644 index 00000000..cdc7026c --- /dev/null +++ b/source/website/Documents/situation-pro-2.md @@ -0,0 +1,86 @@ +<nav class="subnav"> + <div class="sublia-border"> + -- generate submenu here -- + </div> +</nav> + +--- +title: 'Stage année 2' +--- + +Repo git : https://git.neodarz.net/neodarz/cours_SIO/recap_stage_2.git/ + +Rapport d'activité : https://git.neodarz.net/neodarz/cours_SIO/recap_stage_2.git/tree/Rapport/rapport.pdf + +# Objectif + +# Tâches + + +# documentation + +## Documentation technique + +### Procédure d'installation + +Add Erlang Solutions repo: + +``` sh +wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb +``` + +Run: + +``` sh +sudo apt-get update +``` + +Install the Erlang/OTP platform and all of its applications: + +``` sh +sudo apt-get install esl-erlang +``` + +Install Elixir: + +``` sh +sudo apt-get install elixir +``` + +Install postgresql and configure it. + +CREATE USER demo WITH PASSWORD 'P@ssword'; +ALTER USER demo CREATEDB; + +Clone the project: + +``` sh +git clone https://framagit.org/NeodarZ/the_transcriber_backend.git +``` + +edit the file config/dev.exs with this: +``` +[...] +username: "demo", +password: "P@ssword", +[...] +``` +Instalation des dépendances : +```sh +mix deps.get +``` + +You must have this message: +```sh +Could not find Hex, which is needed to build dependency :phoenix +Shall I install Hex? (if running non-interactively, use: "mix local.hex --force") [Yn] +``` + +Accept it because Hex is necessary to install dependences + +Create and migrate your database with +``` sh +mix ecto.create && mix ecto.migrate +``` + +install node 6.10.0 and npm from source diff --git a/source/website/Documents/stage-2.md b/source/website/Documents/stage-2.md deleted file mode 100644 index 44728eaa..00000000 --- a/source/website/Documents/stage-2.md +++ /dev/null @@ -1,11 +0,0 @@ -<nav class="subnav"> - <div class="sublia-border"> - -- generate submenu here -- - </div> -</nav> - ---- -title: 'Stage année 2' ---- - -Stage 2 !!!! |