Skip to content

Commit

Permalink
readme update for docker
Browse files Browse the repository at this point in the history
Signed-off-by: Udith <[email protected]>
  • Loading branch information
uaudith committed Sep 25, 2020
1 parent 276cca3 commit 88909da
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ RUN mkdir -p /tmp/ && \
# clean up the container "layer", after we are done
rm /tmp/chromedriver.zip

ENV GOOGLE_CHROME_DRIVER /usr/bin/chromedriver
ENV GOOGLE_CHROME_BIN /usr/bin/google-chrome-stable

# copy the dependencies file to the working directory
COPY requirements.txt .
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,20 @@ async def testing(message: Message):

* **[More Detailed Guide](https://docs.google.com/document/d/15uoiOn2NkN518MMkx9h5UaMEWMp8aNZqJocXvS0uI6E)** 📝

> TODO: add Docker Support.
### Run on Docker 🐳

1. Install Docker ( [Guide](https://docs.docker.com/engine/install/ubuntu/) )
2. Clone the repo
`git clone https://github.com/UsergeTeam/Userge.git`
3. `cd Userge`
4. Create the docker image
`docker build -t userge .`
5. `cd ..`
6. `wget https://raw.githubusercontent.com/UsergeTeam/Userge/alpha/config.env.sample -O config.env`
7. Edit the file with your text editor
`vi config.env`
8. Finally run the container
`docker run -dv "$(pwd)/config.env:/app/config.env" userge`

### Video Tutorial 🎥

Expand Down

0 comments on commit 88909da

Please sign in to comment.