Skip to content

Commit

Permalink
Merge pull request #4 from PapaSinku/tune-constants
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
kamali-sina authored Jul 7, 2022
2 parents b492ad8 + f668e44 commit a7deb33
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,39 @@
# dmcb
![Bank Icon](./images/piggybank.png)

# DM Contest Bank

The moderator for Discrete Mathematics contests. Implemented in Django.

## Installing requirements
## Running the Code

To run the code, you can either use docker to build and run or run it locally.

## Docker Installation

The docker repo of the project is found at: **ghcr.io/papasinku/dmcb**. To use the docker installation, first make sure you have docker installed on your system, then simply run:

docker run --rm -p 8000:8000 -it ghcr.io/papasinku/dmcb

Then you can access the website at <http://localhost:8000/>

## Local Installation

First install the requirements, then run the following commands:

```bash
cd dmcb
python3 manage.py runserver
```

Then you can access the website at <http://localhost:8000/>

### Installing requirements

To install the requirements, run the following command:

pip install -r requirements.txt

## Reformatting the code
## For devs: Reformatting the code

To reformat the code, run the following command:

Expand Down
Binary file added images/piggybank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a7deb33

Please sign in to comment.