Skip to content

Commit

Permalink
updates after ownership trasnfer
Browse files Browse the repository at this point in the history
  • Loading branch information
zabkwak committed Jul 11, 2022
1 parent 06ceb86 commit a863dc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ WORKDIR /usr/src/app
COPY . .
RUN pip install -r requirements.txt
# connect the repository to the container
LABEL org.opencontainers.image.source https://github.com/zabkwak/mat-facebook-ads-transformer
LABEL org.opencontainers.image.source https://github.com/lvtffuk/mat-facebook-ads-transformer
CMD [ "python", "./" ]
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# mat-facebook-ads-transformer
Transformer for output data of [mat-facebook-downloader](https://github.com/zabkwak/mat-facebook-downloader) for Media Analytics Tool project.
The data can be used in [mat-facebook-ads-analyzer](https://github.com/zabkwak/mat-facebook-ads-analyzer).
Transformer for output data of [mat-facebook-downloader](https://github.com/lvtffuk/mat-facebook-downloader) for Media Analytics Tool project.
The data can be used in [mat-facebook-ads-analyzer](https://github.com/lvtffuk/mat-facebook-ads-analyzer).

## Development
### Requirements
- Python 3
- `gcc` and `g++` libraries
### Installation & test run
```bash
git clone [email protected]:zabkwak/mat-facebook-ads-transformer.git
git clone [email protected]:lvtffuk/mat-facebook-ads-transformer.git
cd mat-facebook-ads-transformer
pip install -r requirements.txt
python ./
Expand Down Expand Up @@ -37,9 +37,9 @@ File | Description
`total_region.csv` | Total ads per region.

## Docker
The [image](https://github.com/zabkwak/mat-facebook-ads-transformer/pkgs/container/mat-facebook-ads-transformer) is stored in GitHub packages registry and the app can be run in the docker environment.
The [image](https://github.com/lvtffuk/mat-facebook-ads-transformer/pkgs/container/mat-facebook-ads-transformer) is stored in GitHub packages registry and the app can be run in the docker environment.
```bash
docker pull ghcr.io/zabkwak/mat-facebook-ads-transformer:latest
docker pull ghcr.io/lvtffuk/mat-facebook-ads-transformer:latest
```

```bash
Expand All @@ -49,7 +49,7 @@ docker run \
-e 'OUTPUT_DIR=./output' \
-v '/absolute/path/to/output/dir:/usr/src/app/output' \
-v '/absolute/path/to/input/dir:/usr/src/app/input' \
ghcr.io/zabkwak/mat-facebook-ads-transformer:latest
ghcr.io/lvtffuk/mat-facebook-ads-transformer:latest
```
The volumes must be set for accessing input and output data.

Expand Down

0 comments on commit a863dc7

Please sign in to comment.