Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mo9a7i committed Jun 8, 2023
1 parent 9247254 commit 68137cc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Docker version to expose a Python (Flask) API endpoint that hashes to scrypt (firebase)

```bash
docker pull ghcr.io/6degrees/py_dockerized_scrypt_hasher_service:latest
```

## Setup

1. First, you need some configuration variables from your firebase project, you can get them from firebase->authentication-> little three dots top right of users table
Expand All @@ -18,10 +22,10 @@
3. Next, run the below commands in the project folder (next to Dockerfile)

```bash
$git clone this repo
$cd firebasescrypt
$docker build -t firebasescrypt
$docker run -p 5959 --env-file ./docker_env_file firebasescrypt
git clone this repo
cd firebasescrypt
docker build -t firebasescrypt
docker run -p 5959 --env-file ./docker_env_file firebasescrypt
```

Now you have a flask endpoint running at your machine at `http://127.0.0.1:5959` (unless you changed the port or put on a server)
Expand Down

0 comments on commit 68137cc

Please sign in to comment.