Skip to content

Commit

Permalink
remove c4 to separate directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyinybl committed Nov 23, 2020
1 parent 420900c commit 2613a4e
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 116 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# determine the right python binary
.PYTHON3:=$(shell PATH='$(subst $(CURDIR)/.venv/bin:,,$(PATH))' which python3)

# update packages from requirements.txt and create requirements.txt.freeze
install-packages:
mkdir -p .venv
cd .venv && $(.PYTHON3) -m venv --copies --prompt='[$(shell basename `pwd`)/.venv]' .
.venv/bin/python -m pip install -r requirements.txt --no-cache-dir
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. :

## Architecture

![Architecture](c4/images/architecture_graph.png)
![Architecture](architectures/architecture_graph.png)

<!-- REQUIREMENTS -->
## Requirements
Expand Down
File renamed without changes.
File renamed without changes
7 changes: 4 additions & 3 deletions c4/architectures/dwh.py → architectures/dwh.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

internal_user.add_usage(dwh_app, 'Makes requests')
dwh_app.add_usage(metabase, 'Copies data to')
#system2.add_usage(invoice_extractor_application, 'Updates records')
#ocr.add_usage(model, 'Sends OCR output in XML')
#

from c4.graph import c4_graph

c4_graph(dwh)
Empty file removed c4/__init__.py
Empty file.
67 changes: 0 additions & 67 deletions c4/architecture.py

This file was deleted.

45 changes: 0 additions & 45 deletions c4/graph.py

This file was deleted.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-e git+https://github.com/jieyinybl/c4-architecture.git@0.1#egg=c4-architecture

0 comments on commit 2613a4e

Please sign in to comment.