Skip to content

Commit cd0400c

Browse files
authored
Chore/migrate license to mit from apache (#56)
* fix(frontend): fix frontend docker, device management wizard, and backend dependencies * chores: delete copyright unnecessary * feat: Add SUMO simulation configurations for multiple intersections and initial frontend components with Docker setup. * fix(docs): fix error url in README file * feat(docs): add instruction to copy the env in backend for sumo simulation * fix(frontend): fix the error interface * feat(frontend): add frontend components for AI traffic control and internationalization. * feat: Add SUMO simulation files for Nga4ThuDuc and new frontend dashboard and map pages. Change module libraries with MIT License
1 parent 2eec496 commit cd0400c

38 files changed

+1889
-2971
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ git clone https://github.com/sonmessia/GreenWave.git
121121
# Navigate to the project directory
122122
cd GreenWave
123123

124+
# Copy the environment variables
125+
cp .env.example .env
126+
127+
# Navigate to the project directory
128+
cd src/backend
129+
124130
# Copy the environment variables
125131
cp .env.example .env
126132
```

docs/docs/installation.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ cd GreenWave
4545
Copy the example configuration file to the official `.env` file:
4646

4747
```bash
48+
# Copy the environment variables
49+
cp .env.example .env
50+
51+
# Change directory to backend
52+
cd src/backend
53+
54+
# Copy the environment variables
4855
cp .env.example .env
4956
```
5057

@@ -55,6 +62,7 @@ cp .env.example .env
5562
This is the simplest way to start the whole system:
5663

5764
```bash
65+
# Run docker compose
5866
docker compose up -d
5967
```
6068

docs/docs/intro.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ Run the following command to start all services (Context Broker, Backend, Fronte
8888

8989
```bash
9090
cp .env.example .env
91+
# Change directory to backend
92+
cd src/backend
93+
94+
# Copy the environment variables
95+
cp .env.example .env
96+
97+
# Run docker compose
9198
docker compose up -d
9299
```
93100

src/backend/app/sumo_rl/sumo_files/Nga4ThuDuc/e1_0.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<!-- generated on 2025-12-07T15:04:56.440547+00:00 by Eclipse SUMO sumo 1.25.0
3+
<!-- generated on 2025-12-11T06:56:10.263166+00:00 by Eclipse SUMO sumo 1.25.0
44
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
55
66
<input>
@@ -15,7 +15,3 @@
1515
</traci_server>
1616
1717
</sumoConfiguration>
18-
-->
19-
20-
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/det_e1_file.xsd">
21-
</detector>

src/backend/app/sumo_rl/sumo_files/Nga4ThuDuc/e1_1.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<!-- generated on 2025-12-07T15:04:56.441018+00:00 by Eclipse SUMO sumo 1.25.0
3+
<!-- generated on 2025-12-11T06:56:10.353502+00:00 by Eclipse SUMO sumo 1.25.0
44
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
55
66
<input>
@@ -15,7 +15,3 @@
1515
</traci_server>
1616
1717
</sumoConfiguration>
18-
-->
19-
20-
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/det_e1_file.xsd">
21-
</detector>

src/backend/app/sumo_rl/sumo_files/Nga4ThuDuc/e1_2.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<!-- generated on 2025-12-07T15:04:56.441284+00:00 by Eclipse SUMO sumo 1.25.0
3+
<!-- generated on 2025-12-11T06:56:10.396126+00:00 by Eclipse SUMO sumo 1.25.0
44
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
55
66
<input>
@@ -15,7 +15,3 @@
1515
</traci_server>
1616
1717
</sumoConfiguration>
18-
-->
19-
20-
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/det_e1_file.xsd">
21-
</detector>

src/backend/app/sumo_rl/sumo_files/Nga4ThuDuc/e1_3.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<!-- generated on 2025-12-07T15:04:56.441488+00:00 by Eclipse SUMO sumo 1.25.0
3+
<!-- generated on 2025-12-11T06:56:10.442960+00:00 by Eclipse SUMO sumo 1.25.0
44
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
55
66
<input>
@@ -15,7 +15,3 @@
1515
</traci_server>
1616
1717
</sumoConfiguration>
18-
-->
19-
20-
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/det_e1_file.xsd">
21-
</detector>

src/backend/app/sumo_rl/sumo_files/Nga4ThuDuc/e1_4.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<!-- generated on 2025-12-07T15:04:56.441686+00:00 by Eclipse SUMO sumo 1.25.0
3+
<!-- generated on 2025-12-11T06:56:10.486557+00:00 by Eclipse SUMO sumo 1.25.0
44
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
55
66
<input>
@@ -15,7 +15,3 @@
1515
</traci_server>
1616
1717
</sumoConfiguration>
18-
-->
19-
20-
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/det_e1_file.xsd">
21-
</detector>

src/backend/app/sumo_rl/sumo_files/Nga4ThuDuc/e1_5.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<!-- generated on 2025-12-07T15:04:56.441890+00:00 by Eclipse SUMO sumo 1.25.0
3+
<!-- generated on 2025-12-11T06:56:10.529731+00:00 by Eclipse SUMO sumo 1.25.0
44
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
55
66
<input>
@@ -15,7 +15,3 @@
1515
</traci_server>
1616
1717
</sumoConfiguration>
18-
-->
19-
20-
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/det_e1_file.xsd">
21-
</detector>

src/backend/app/sumo_rl/sumo_files/Nga4ThuDuc/e1i_0.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<!-- generated on 2025-12-07T15:04:56.442079+00:00 by Eclipse SUMO sumo 1.25.0
3+
<!-- generated on 2025-12-11T06:56:10.559992+00:00 by Eclipse SUMO sumo 1.25.0
44
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
55
66
<input>
@@ -15,7 +15,3 @@
1515
</traci_server>
1616
1717
</sumoConfiguration>
18-
-->
19-
20-
<instantE1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/instant_e1_file.xsd">
21-
</instantE1>

0 commit comments

Comments
 (0)