Skip to content
Snippets Groups Projects
Commit fd2b034d authored by dipespandey08's avatar dipespandey08
Browse files

fix the duplicate nodes in the beginning of the branches

parent b70d87da
No related branches found
No related tags found
No related merge requests found
# TXTA
## How to run the app?
## How to run the app locally?
1. Create a virtual environment
......@@ -26,9 +26,29 @@
flask run
```
## TODO
## How to run the app using docker?
```bash
docker-compose build
docker-compose up
```
1. Dockerize the app
## How to deploy the app to GCP?
1. Install gcloud
2. upload the code to App Engine
```bash
```
3. deploy
```bash
bash
```
## TODO
2. Fix duplicate nodes in the graph
1. Fix duplicate nodes in the graph
No preview for this file type
This diff is collapsed.
......@@ -127,7 +127,7 @@ def grapher(mappings, root):
count_in = random.randint(100, 1000)
for k, v in st.items():
cleaned_st = group_strings_by_n(k, 4)
cleaned_st = group_strings_by_n(k, 5)
count_in += 1
chart_data.node(str(count), cleaned_st, color='green')
chart_data.edge('r', str(count))
......@@ -137,7 +137,7 @@ def grapher(mappings, root):
chart_data.edge(str(count), str(count_in))
for i in v:
for i in v[1:]:
# keep track of the old and new inner nodes
count_in_old = count_in
count_in += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment