File tree 7 files changed +42
-3
lines changed
7 files changed +42
-3
lines changed Original file line number Diff line number Diff line change
1
+ . /data
Original file line number Diff line number Diff line change
1
+ FROM python:3
2
+ # ENV PYTHONUNBUFFERED 1
3
+ # ENV LANG C.UTF-8
4
+ # ENV LC_ALL C.UTF-8
5
+ # RUN apt-get update && apt-get install -y \
6
+ # python3 \
7
+ # python3-pip \
8
+ # git
9
+ COPY ./ksweb /
10
+ RUN pip3 install -e .
11
+ RUN pip3 install --pre tg.devtools
12
+ EXPOSE 8080
13
+ ENTRYPOINT ["/serve" ]
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Some example of Knowledge Bases are:
16
16
<details >
17
17
<summary ><strong >:triangular_flag_on_post: Table of Contents</strong > (click to expand)</summary >
18
18
19
+ * [ Getting started] ( #whale-getting-started )
19
20
* [ Installation] ( #floppy_disk-installation )
20
21
* [ Usage] ( #video_game-usage )
21
22
* [ Configuration] ( #wrench-configuration )
@@ -26,6 +27,14 @@ Some example of Knowledge Bases are:
26
27
* [ License] ( #briefcase-license )
27
28
</details >
28
29
30
+ ## :whale : Getting started
31
+
32
+ The easiest way to run ksweb is inside a docker container. just run
33
+
34
+ git clone --recursive https://github.com/puria/ksweb.git
35
+ cd ksweb
36
+ docker-container up
37
+
29
38
## :floppy_disk : Installation
30
39
31
40
Checkout the project
@@ -39,8 +48,6 @@ Before install KSweb you need to have an instance of **[:leaves:mongodb](https:/
39
48
### Installer
40
49
run the installer:
41
50
42
- cd zenrule/zenrule/lib/zenroom
43
-
44
51
:apple : macosx
45
52
46
53
brew install python3
Original file line number Diff line number Diff line change
1
+ version : " 2"
2
+
3
+ services :
4
+ db :
5
+ image : mongo
6
+ restart : always
7
+ volumes :
8
+ - ./data:/data/db
9
+ web :
10
+ build : .
11
+ command : ./serve
12
+ ports :
13
+ - " 8080:8080"
14
+ depends_on :
15
+ - db
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ toscawidgets.framework.resource_variant=debug
88
88
# pick the form for your database
89
89
# %(here) may include a ':' character on Windows environments; this can
90
90
# invalidate the URI when specifying a SQLite db via path name
91
- ming.url = mongodb://localhost :27017/
91
+ ming.url = mongodb://db :27017/
92
92
ming.db = ksweb
93
93
94
94
# This line ensures that Genshi will render xhtml when sending the
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ gearbox setup-app
3
+ gearbox serve
You can’t perform that action at this time.
0 commit comments