aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorcly <clyhtsuriva@gmail.com>2020-03-23 09:56:15 +0100
committercly <clyhtsuriva@gmail.com>2020-03-23 09:56:15 +0100
commitb1bf83a625912950055d56a33a97382a6c7d1b27 (patch)
treea94b634d79ea704437b9acb076efee9596318c90 /web
parent8850bb41eb9ef803e33a876e9017f378fc74637b (diff)
web updates
Diffstat (limited to 'web')
-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>
+"""))