From 55fffb875102d3db9bdae79d6d2e129ce2db792e Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 14 May 2017 18:17:07 +0200 Subject: Add a first version of my situation --- source/website/Documents/situation-pro-1.md | 9 +++ source/website/Documents/situation-pro-2.md | 86 +++++++++++++++++++++++++++++ source/website/Documents/stage-1.md | 11 ---- source/website/Documents/stage-2.md | 11 ---- 4 files changed, 95 insertions(+), 22 deletions(-) create mode 100644 source/website/Documents/situation-pro-1.md create mode 100644 source/website/Documents/situation-pro-2.md delete mode 100644 source/website/Documents/stage-1.md delete mode 100644 source/website/Documents/stage-2.md (limited to 'source') diff --git a/source/website/Documents/situation-pro-1.md b/source/website/Documents/situation-pro-1.md new file mode 100644 index 00000000..2f22c5d5 --- /dev/null +++ b/source/website/Documents/situation-pro-1.md @@ -0,0 +1,9 @@ + + +--- +title: 'Situtation n°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 @@ + + +--- +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-1.md b/source/website/Documents/stage-1.md deleted file mode 100644 index 985d68a9..00000000 --- a/source/website/Documents/stage-1.md +++ /dev/null @@ -1,11 +0,0 @@ - - ---- -title: 'Stage année 1' ---- - -Stage 1 !!!! 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 @@ - - ---- -title: 'Stage année 2' ---- - -Stage 2 !!!! -- cgit v1.2.1