From 977ace9db18019204b21a6993343d9d548139b68 Mon Sep 17 00:00:00 2001
From: erichard <elliot.richard@lal.in2p3.fr>
Date: Wed, 26 Feb 2020 15:29:34 +0100
Subject: [PATCH] add instruction to create DB and start project with testing
 DB.

---
 README.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 README.md

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d2966ba
--- /dev/null
+++ b/README.md
@@ -0,0 +1,23 @@
+This project delivers some python code for management of elements with system label within a Flask application.
+
+For testing purpose, a Flask demonstration web site is provided, 
+to create testing database. Execute the following shell commands from project's root.
+```
+mkdir instance
+python3 -m venv venv
+source venv/bin/activate
+pip install -r requirements.txt
+python3 -c 'from models import db;db.create_all()'
+mv test.db voiture.db ou codingpool.db
+sqlite3 voiture.db '.read data_voiture.sql'
+mv voiture.db instance/
+```
+
+to be excuted with the help of Docker. You can move to the `docker`  subdirectory and read the local `READ.md` for a detailed description of the provided utility scripts. For the impatient users, the recipe to start the demo wen site is :
+
+```
+cd docker
+./build_dev.sh
+./run_dev.sh
+```
+
-- 
GitLab