Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
s.karekkattumanasree authored and s.karekkattumanasree committed Oct 23, 2020
1 parent 8f19779 commit 8e8db6a
Show file tree
Hide file tree
Showing 21 changed files with 1,219 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**
!**/src/test/**

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/

### VS Code ###
.vscode/
55 changes: 55 additions & 0 deletions api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**
!**/src/test/**

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/

### VS Code ###
.vscode/
43 changes: 43 additions & 0 deletions api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# CourseAchievement API
## Build Setup

- #### Download ojdbc8.jar oracle driver file
```
https://gww.svn.educ.gov.bc.ca/svn/repos/openshiftdevs_repos/drivers/ojdbc8.jar
```

- #### Install the ojdbc oracle driver in the local maven repository
```
mvn install:install-file -Dfile=.\ojdbc8.jar -DgroupId=com.oracle.ojdbc -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
```

- #### Run application with local properties
```
mvn clean install -Dspring.profiles.active=dev
```

- #### Run application with default properties
```
mvn clean install
```

## START and STOP API

- #### Start API
```
mvn spring-boot:start
```

- #### Shutdown API
```
mvn spring-boot:stop
```

## Kill a running API on Windows
```
#Find the Process ID
netstat -ano | find "<port#>"
#Kill the process by Process ID
Taskkill /F /IM <Process-ID>
```
Loading

0 comments on commit 8e8db6a

Please sign in to comment.