aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/acit/__init__.py13
-rw-r--r--src/acit/web.py13
2 files changed, 26 insertions, 0 deletions
diff --git a/src/acit/__init__.py b/src/acit/__init__.py
new file mode 100644
index 0000000..7149003
--- /dev/null
+++ b/src/acit/__init__.py
@@ -0,0 +1,13 @@
+
+import cherrypy
+
+from .web import Server
+
+
+def run():
+ server=Server()
+ cherrypy.quickstart(server,"/",
+ {
+ })
+
+
diff --git a/src/acit/web.py b/src/acit/web.py
new file mode 100644
index 0000000..ae45679
--- /dev/null
+++ b/src/acit/web.py
@@ -0,0 +1,13 @@
+
+import cherrypy
+
+
+class Server():
+ def __init__(self):
+ pass
+
+ @cherrypy.expose
+ def default(self):
+ return "Hello world"
+
+