From b1bf83a625912950055d56a33a97382a6c7d1b27 Mon Sep 17 00:00:00 2001 From: cly Date: Mon, 23 Mar 2020 09:56:15 +0100 Subject: web updates --- web/howto_psql | 2 +- web/website/index.html | 9 +++++++++ web/website/index.py | 11 +++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 web/website/index.html create mode 100644 web/website/index.py (limited to 'web') diff --git a/web/howto_psql b/web/howto_psql index 4da0d3e..7d5adfc 100644 --- a/web/howto_psql +++ b/web/howto_psql @@ -32,4 +32,4 @@ su - atsuser psql -d atsdb -U atsuser #initialize the tables -\i /WHATEVER_PATH_YOUR_INIT_IS_IN/init-bd.sql +\i /WHATEVER_PATH_YOUR_INIT_IS_IN/ATS-Project/website/init-bd.sql diff --git a/web/website/index.html b/web/website/index.html new file mode 100644 index 0000000..27f4dda --- /dev/null +++ b/web/website/index.html @@ -0,0 +1,9 @@ + + + + Just here to redirect you... + + + + + diff --git a/web/website/index.py b/web/website/index.py new file mode 100644 index 0000000..87392db --- /dev/null +++ b/web/website/index.py @@ -0,0 +1,11 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- + +import mod_python +import fonctions + +def index(req): + req.content_type="text/html" + req.write(fonctions.baseHTML("ATS-Project",""" +

ATS-Project

+""")) -- cgit v1.2.3