Coder Social home page Coder Social logo

odot's Introduction

ODOT


OS

  • Ubuntu 18.04.3

Install

Git

sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install git-core
git version

Clone Project

git clone https://github.com/goodGid/ODOT.git

Maven

sudo apt-get install maven

Server Environment

  • Spring Boot (v2.2.6.RELEASE)

  • Maven


How to deployment

Step 1.

  • Use mvn package command to create jar file
ubuntu@node1:~/ODOT$ ls
README.md  pom.xml  src
ubuntu@node1:~/ODOT$ mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------------< goodgid:odot >----------------------------
[INFO] Building odot 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
...
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  18.254 s
[INFO] Finished at: 2020-04-24T12:59:59Z
[INFO] ------------------------------------------------------------------------
  • Check jar file

    • The jar file is created by combining the names of artifactId and version.
    ## pom.xml
    <artifactId>odot</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    
    • format : {{artifactId}}-{{version}}.jar

    • ex) odot-0.0.1-SNAPSHOT.jar

    • The jar file is located under the target directory.

    • ex) target/odot-0.0.1-SNAPSHOT.jar

  • If the maven test goal fails, run it with the following command.

mvn package -DskipTests

Step 2.

  • Use the java -jar command to start the server
java -jar odot-0.0.1-SNAPSHOT.jar

Step 3.

Step 4.

  • Set it to run in the background using the nohup and & command.
nohup java -jar target/odot-0.0.1-SNAPSHOT.jar&
  • If you want to terminate the server, Find and kill
# Find Server Process
## Usage 1. 
ps -ef | grep '{project_name}'
ex) ps -ef | grep 'odot'

## Usage 2. 
ps -ef | grep 'java -jar'

# Kill Process
kill -9 pid

Tip

odot's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

rheehot

odot's Issues

Json to Obejct

JacksonUtil.toObject(xxJson, new TypeReference<List>() {});v

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.