Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM fedora:latest
FROM fedora:30

EXPOSE 5000

RUN dnf -y -q -b install python3-virtualenv npm

ADD . /app
RUN cd app && virtualenv-3.4 .
RUN cd app && virtualenv .
RUN cd app && npm install


RUN bash -c '. app/bin/activate; pip install flask flask-assets requests PyReact'
RUN bash -c '. app/bin/activate; pip install -r /app/requirements.txt'

RUN mkdir -p /app/static/.webassets-cache/
RUN chown nobody /app/static/.webassets-cache/
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ Getting started

## OAuth2 client setup

Get oauth2 client_id and client_secret from sipgate: https://api.sipgate.com/developer
Get oauth2 client_id and client_secret from sipgate: https://console.sipgate.com/

For local testing add

* Redirect URI: http://127.0.0.1:5000/callback
* Web Origins: http://127.0.0.1:5000

## Run using docker

Expand Down