Skip to content

Commit

Permalink
Added instructions to use docker to setup
Browse files Browse the repository at this point in the history
  • Loading branch information
harshraj22 committed Jun 4, 2022
1 parent b8dafbc commit 127c42e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ To have a website that caters all needs that a CSE UG has.
</details>

##### Installation :
1. Using docker:
check [here](./docs/docker.md)

2. Manual :
* create a virtual environment and activate it (google it)
* Install dependencies into it ```pip3 install -r requirements.txt``` or ```python -m pip install -r requirements.txt```.
* Check out to develop branch.
Expand Down
9 changes: 9 additions & 0 deletions docs/docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Setup using Docker

### 1. Build Image:
`docker build --no-cache -t cse_hub .`

### 2. Create and run container:
`docker run -dp 12345:12345 cse_hub`

0 comments on commit 127c42e

Please sign in to comment.