豁然高

导航

mvn java项目README.md文件范例

文件名:README.md

文件内容:

## 指示書インポートの作成と解析 

### INSTALL
* sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
* sudo yum install apache-maven
* sudo yum install java-1.8.0-openjdk java-1.8.0-openjdk-devel

### DEBUG AND RUN
mvn spring-boot:run

### DEPLOY
cd /var/www
git clone http://gitlab.cross-m.biz/pyxis2/p2tasks.git
cd p2tasks
cp src/main/resources/application.properties.example src/main/resources/application.properties  
mvn package  

cd /etc/init.d  
sudo ln -s /var/www/p2tasks/src/main/resources/p2tasks .  
sudo chmod +x p2tasks  
sudo chkconfig --add p2tasks  
sudo chkconfig p2tasks on  
service p2tasks start/stop/restart

 

posted on 2019-05-29 17:17  豁然高  阅读(1871)  评论(0编辑  收藏  举报