aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/howto_psql2
-rw-r--r--web/website/index.html9
-rw-r--r--web/website/index.py11
3 files changed, 21 insertions, 1 deletions
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 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Just here to redirect you...</title>
+ <meta charset="UTF-8">
+ <meta http-equiv='refresh' content='0; URL=index.py'>
+ </head>
+ <body></body>
+</html>
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","""
+<center><h1>ATS-Project</h1></center>
+"""))