Skip to content

Commit 19093bd

Browse files
committed
update readme
1 parent 07656f6 commit 19093bd

File tree

2 files changed

+90
-9
lines changed

2 files changed

+90
-9
lines changed

README.md

Lines changed: 88 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ cd ..
3939
python3 run.py --job 3
4040
```
4141

42-
# 2. Setup without Conda (system-wide)
42+
## 2. Setup without Conda (system-wide)
4343

4444
```bash
4545
git clone https://github.com/ghifarhaidar/cloud-scheduling-using-lca.git
4646
cd cloud-scheduling-using-lca/
4747
```
4848

49-
# [Optional] Create and activate a Python virtual environment
49+
## [Optional] Create and activate a Python virtual environment
5050

5151
```bash
5252
python3 -m venv .venv
5353
source .venv/bin/activate
5454
```
5555

56-
# Install required system-level tools
56+
## Install required system-level tools
5757

5858
### (Assumes you're on Ubuntu or Debian)
5959

@@ -62,30 +62,30 @@ sudo apt-get update
6262
sudo apt-get install -y maven nodejs npm python3-pip
6363
```
6464

65-
# Upgrade pip and install Python deps
65+
## Upgrade pip and install Python deps
6666

6767
```bash
6868
pip install --upgrade pip
6969
pip install numpy
7070
```
7171

72-
# Install backend dependencies
72+
## Install backend dependencies
7373

7474
```bash
7575
cd backend/
7676
npm install
7777
cd ..
7878
```
7979

80-
# Install frontend dependencies
80+
## Install frontend dependencies
8181

8282
```bash
8383
cd frontend/
8484
npm install
8585
cd ..
8686
```
8787

88-
# Build the Java simulator and run the project
88+
## Build the Java simulator and run the project
8989

9090
```bash
9191
python3 run.py --job 3
@@ -100,3 +100,84 @@ then run npm run start in both backend and frontend folders
100100
```bash
101101
pytest tests/test_full_workflow.py
102102
```
103+
104+
over files all architecture:
105+
106+
```
107+
.
108+
├── algorithms
109+
│ ├── ACO.py
110+
│ ├── main.py
111+
│ ├── PSO.py
112+
│ └── Round_Robin.py
113+
├── backend
114+
│ ├── config
115+
│ │ ├── config.js
116+
│ │ └── corsOptions.js
117+
│ ├── example.env
118+
│ ├── middleware
119+
│ │ ├── asyncHandler.js
120+
│ │ ├── errorHandler.js
121+
│ │ └── logging.js
122+
│ ├── package.json
123+
│ ├── package-lock.json
124+
│ ├── routes
125+
│ │ └── api.js
126+
│ ├── server.js
127+
│ └── utils
128+
│ ├── fileHandlers.js
129+
│ ├── pythonRunner.js
130+
│ ├── resultProcessor.js
131+
│ └── runExperiments.js
132+
├── clean_and_update.sh
133+
├── configs
134+
│ └── all_algorithms.json
135+
├── frontend
136+
│ └── src
137+
│ ├── App.css
138+
│ ├── App.jsx
139+
│ ├── components
140+
│ ├── index.css
141+
│ ├── main.jsx
142+
│ ├── pages
143+
│ │ ├── EditConfigPage.jsx
144+
│ │ ├── FitnessPage.jsx
145+
│ │ ├── HomePage.jsx
146+
│ │ ├── ResultsPage.jsx
147+
│ │ ├── RunPage.jsx
148+
│ │ └── SetConfigPage.jsx
149+
│ ├── styles
150+
│ └── utils
151+
├── .github
152+
│ └── workflows
153+
│ └── integration.yml
154+
├── .gitignore
155+
├── lca
156+
│ ├── config.py
157+
│ ├── cost_config.py
158+
│ ├── cost_LCA.py
159+
│ ├── dev.py
160+
│ ├── main.py
161+
│ ├── makespan_LCA.py
162+
│ ├── MO_LCA.py
163+
│ ├── Non_Vectorized_MO_LCA.py
164+
│ ├── util.py
165+
│ └── vectorized_dev.py
166+
├── pom.xml
167+
├── README.md
168+
├── run.py
169+
├── src
170+
│ └── main
171+
│ └── java
172+
│ ├── brokers
173+
│ │ └── MyDatacenterBroker.java
174+
│ ├── org
175+
│ │ └── simulations
176+
│ │ └── Simulation.java
177+
│ ├── utils
178+
│ │ └── commons.java
179+
│ └── vms
180+
│ └── MyVmCost.java
181+
└── tests
182+
└── test_full_workflow.py
183+
```

run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ def main():
130130
"Job type: "
131131
"0 = run algorithm and simulations (default), "
132132
"1 = generate config, "
133-
"2 = edit config"
134-
"3 = build java"
133+
"2 = edit config, "
134+
"3 = build java, "
135135
)
136136
)
137137
parser.add_argument(

0 commit comments

Comments
 (0)