Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omarchehab98/cscc43
CSCC43 Assignment
https://github.com/omarchehab98/cscc43
Last synced: about 1 month ago
JSON representation
CSCC43 Assignment
- Host: GitHub
- URL: https://github.com/omarchehab98/cscc43
- Owner: omarchehab98
- Created: 2018-11-19T07:10:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-02T21:08:42.000Z (about 6 years ago)
- Last Synced: 2024-10-31T18:52:05.196Z (3 months ago)
- Language: Java
- Size: 1.72 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Running the code
## Bundling and compiling using javac
Navigate to https://dev.mysql.com/downloads/connector/j/8.0.html download
**mysql-connector-java-5.1.47.zip** by clicking on **Looking for the latest GA Version?**
Unzip and copy **mysql-connector-java-5.1.47-bin.jar** to the root directory```sh
./bundle.sh > ./App.java
javac App.java
java -cp ".:mysql-connector-java-5.1.47-bin.jar" App
```## Running using maven
```sh
mvn clean install -U
mvn clean compile assembly:single
java -jar target/cscc43-assignment-1.0-SNAPSHOT-jar-with-dependencies.jar
```## Automatic restart using maven
```
./watch.sh
```# MySQL in Docker
```sh
docker-compose up
docker exec -i cscc43a_mysql_1 mysql -u root HL < schema.sql
```