blob: 74e8ca3b6c4d34f2de7ff92ef791872a9b2ca26e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
Installation of the Server
==========================
$ python3 -m pip install .
Deploy jquery.min.js under usr/share/swiftstory/www/javascript/jquery/ using
your favorite tool.
Execution
=========
Start the python server (it will listen to any connection on port 1236)
$ swiftstoryd &
Installation of the web application
===================================
Configure your web-server to serve the www/ directory (refer to the
documentation of your preferred web-server for that) or copy the content of the
www/ directory in a directory already served by your web-server.
Alternatively, if your version of php implements this, you can use this command
to run a simple web-server (this method is not recommended in a production
environment).
$ php -S "<listen_address>:<port>" -t usr/share/swiftstory/www/
Replace <listen_address> and <port> by the values you prefer.
example:
$ php -S 0.0.0.0:8080 -t www/
|