Loading README.md +2 −2 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ first start the back-end cd back go run ./ ``` more information [here](https://github.com/PoCFrance/e/blob/master/back/README.md) More information [here](https://github.com/PoCFrance/e/blob/master/back/README.md) - **Frontend** Loading @@ -38,7 +38,7 @@ In the `Build` tab, select `Build Bundle(s) / APK(s)` and then `Build APK(s)`. Once the build has finished, you can copy the apk to your smartphone and install it by opening it in your file explorer. more information [here](https://github.com/PoCFrance/e/blob/master/front/README.md) More information [here](https://github.com/PoCFrance/e/blob/master/front/README.md) ## Maintainers Loading back/Dockerfile 0 → 100644 +16 −0 Original line number Diff line number Diff line FROM golang:1.12-alpine RUN apk add git gcc libc-dev WORKDIR /app COPY go.mod . COPY go.sum . RUN go mod download COPY . . RUN go build -o ./bin . CMD ["./bin"] No newline at end of file back/README.md +9 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,15 @@ all the project is made in go, so nothing more complicated than running it, go w go run ./ ``` ## Docker You can start the back end directly into a docker container with the following commands ```shell docker build -t go-elivia:latest . docker run -e "PORT=8080" -p 8080:8080 go-elivia ``` ## Features ### IA Loading back/go.mod +0 −4 Original line number Diff line number Diff line Loading @@ -3,16 +3,12 @@ module github.com/PoCFrance/e go 1.13 require ( github.com/fatih/color v1.9.0 // indirect github.com/gookit/color v1.2.7 github.com/gorilla/mux v1.7.4 github.com/gorilla/websocket v1.4.2 github.com/mattn/go-colorable v0.1.6 // indirect github.com/mattn/go-runewidth v0.0.9 // indirect github.com/olivia-ai/olivia v0.0.0-20200719085030-f8c54762aa91 github.com/patrickmn/go-cache v2.1.0+incompatible github.com/robpike/filter v0.0.0-20150108201509-2984852a2183 github.com/tebeka/snowball v0.4.2 golang.org/x/sys v0.0.0-20200513112337-417ce2331b5c // indirect gopkg.in/cheggaaa/pb.v1 v1.0.28 ) Loading
README.md +2 −2 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ first start the back-end cd back go run ./ ``` more information [here](https://github.com/PoCFrance/e/blob/master/back/README.md) More information [here](https://github.com/PoCFrance/e/blob/master/back/README.md) - **Frontend** Loading @@ -38,7 +38,7 @@ In the `Build` tab, select `Build Bundle(s) / APK(s)` and then `Build APK(s)`. Once the build has finished, you can copy the apk to your smartphone and install it by opening it in your file explorer. more information [here](https://github.com/PoCFrance/e/blob/master/front/README.md) More information [here](https://github.com/PoCFrance/e/blob/master/front/README.md) ## Maintainers Loading
back/Dockerfile 0 → 100644 +16 −0 Original line number Diff line number Diff line FROM golang:1.12-alpine RUN apk add git gcc libc-dev WORKDIR /app COPY go.mod . COPY go.sum . RUN go mod download COPY . . RUN go build -o ./bin . CMD ["./bin"] No newline at end of file
back/README.md +9 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,15 @@ all the project is made in go, so nothing more complicated than running it, go w go run ./ ``` ## Docker You can start the back end directly into a docker container with the following commands ```shell docker build -t go-elivia:latest . docker run -e "PORT=8080" -p 8080:8080 go-elivia ``` ## Features ### IA Loading
back/go.mod +0 −4 Original line number Diff line number Diff line Loading @@ -3,16 +3,12 @@ module github.com/PoCFrance/e go 1.13 require ( github.com/fatih/color v1.9.0 // indirect github.com/gookit/color v1.2.7 github.com/gorilla/mux v1.7.4 github.com/gorilla/websocket v1.4.2 github.com/mattn/go-colorable v0.1.6 // indirect github.com/mattn/go-runewidth v0.0.9 // indirect github.com/olivia-ai/olivia v0.0.0-20200719085030-f8c54762aa91 github.com/patrickmn/go-cache v2.1.0+incompatible github.com/robpike/filter v0.0.0-20150108201509-2984852a2183 github.com/tebeka/snowball v0.4.2 golang.org/x/sys v0.0.0-20200513112337-417ce2331b5c // indirect gopkg.in/cheggaaa/pb.v1 v1.0.28 )