aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-05-14 18:17:07 +0200
committerneodarz <neodarz@neodarz.net>2017-05-14 18:17:07 +0200
commit55fffb875102d3db9bdae79d6d2e129ce2db792e (patch)
treed3e1522f6c7bb61156669edeed913e861789fd94 /source
parent2a77de3f8771a3cfe2ee94d4b41ac23b603518c7 (diff)
downloadmy_new_personal_website-55fffb875102d3db9bdae79d6d2e129ce2db792e.tar.xz
my_new_personal_website-55fffb875102d3db9bdae79d6d2e129ce2db792e.zip
Add a first version of my situation
Diffstat (limited to 'source')
-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.md86
-rw-r--r--source/website/Documents/stage-2.md11
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 !!!!