This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from NTNU-BIDATA-IDATG1003-2023/dev
release: FP
- Loading branch information
Showing
19 changed files
with
338 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,16 @@ | |
STUDENT NAME = Erik Bjørnsen | ||
STUDENT ID = erbj | ||
|
||
## Project description | ||
## Project description 📝 | ||
|
||
Train Dispatch System is a system for dispatching trains. It only shows the trains connected with Oslo S. | ||
<p> | ||
Train Dispatch System is a Java application made to manage train departures. | ||
The application is made with Spring Boot and Maven, and uses Derby as a database. | ||
The user-interface is made with Spring Shell. | ||
Exam project for the course IDATG1003 at NTNU Gjøvik. | ||
</p> | ||
|
||
## How to run the project | ||
## How to run the project 🚀 | ||
|
||
1. Clone the repository with: | ||
```bash | ||
|
@@ -30,10 +35,10 @@ or | |
2. Run the program with: | ||
|
||
```bash | ||
java -jar tds-*version*.jar | ||
java -jar tds-3.jar | ||
``` | ||
|
||
## How to run the tests | ||
## How to run the tests 🧪 | ||
|
||
1. Clone the repository | ||
2. Run the tests with: | ||
|
@@ -42,7 +47,18 @@ java -jar tds-*version*.jar | |
./mvnw clean test | ||
``` | ||
|
||
## Project structure | ||
## How to use the program 🖥 | ||
|
||
When the program is running, you can use the following command to get help: | ||
```tds | ||
help | ||
``` | ||
|
||
## Contact 📧 | ||
|
||
If you have any questions, you can contact me [here](mailto:[email protected]) | ||
|
||
## Project structure 📁 | ||
|
||
``` | ||
root | ||
|
@@ -54,15 +70,17 @@ root | |
│ │ │ └── erbj | ||
│ │ │ └── tds | ||
│ │ │ ├── dao | ||
│ │ │ │ ├──DAO.java | ||
│ │ │ │ ├──DepartureDAO.java | ||
│ │ │ │ ├──StationDAO.java | ||
│ │ │ │ ├──TrainDAO.java | ||
│ │ │ │ └──WagonDAO.java | ||
│ │ │ │ ├──Dao.java | ||
│ │ │ │ ├──DepartureDao.java | ||
│ │ │ │ ├──StationDao.java | ||
│ │ │ │ ├──TrainDao.java | ||
│ │ │ │ └──WagonDao.java | ||
│ │ │ │ | ||
│ │ │ ├── model | ||
│ │ │ │ ├── Departure.java | ||
│ │ │ │ ├── DepartureBuilder.java | ||
│ │ │ │ ├── departures | ||
│ │ │ │ │ ├── Departure.java | ||
│ │ │ │ │ └── DepartureBuilder.java | ||
│ │ │ │ │ | ||
│ │ │ │ ├── Station.java | ||
│ │ │ │ ├── Train.java | ||
│ │ │ │ ├── Wagon.java | ||
|
@@ -86,7 +104,7 @@ root | |
│ │ │ │ │ └── TimeController.java | ||
│ │ │ │ │ | ||
│ │ │ │ └── utilites | ||
│ │ │ │ ├── ANSIColors.java | ||
│ │ │ │ ├── AnsiColors.java | ||
│ │ │ │ ├── Colorize.java | ||
│ │ │ │ ├── Printer.java | ||
│ │ │ │ ├── SortUtility.java | ||
|
@@ -118,8 +136,10 @@ root | |
└── README.md | ||
``` | ||
|
||
## Link to repository | ||
## Troubleshooting 🛠 | ||
|
||
[GitHub Classroom](https://github.com/NTNU-BIDATA-IDATG1003-2023/mappe-idatg1003-traindispatchsystem-erikbjo) | ||
If you get any persistence errors, try to delete the tdsDB directory and run the program again. | ||
|
||
## References | ||
## Link to repository 🌐 | ||
|
||
[GitHub Classroom](https://github.com/NTNU-BIDATA-IDATG1003-2023/mappe-idatg1003-traindispatchsystem-erikbjo) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.