GithubHelp home page GithubHelp logo

kerwinchen / nutzblog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sum1865/nutzblog

0.0 1.0 0.0 45.25 MB

基于nutz的简易博客程序

Home Page: http://javablog.net

License: Apache License 2.0

Shell 0.02% Java 12.35% JavaScript 41.03% FreeMarker 14.53% CSS 11.57% HTML 19.77% PHP 0.74%

nutzblog's Introduction

##NutzBlog

基于nutz的简易博客程序


##基本上可以三种部署方式

01 java环境下部署方式

先去搞一个VPS ,然后ssh上去

git clone [email protected]:daodaovps/nutzblog.git

修改数据库配置文件 src/main/resources/custom/db.properties

启动起来 mvn jetty:run

或者 sudo nohup mvn jetty:run -Djetty.port=80 > /dev/null 2>&1 &

或者打war包后放在你想放的位置 mvn war:war

启动后的样子像这样 http://w.javablog.net

02 html静态部署方式

按照01的方式在自己的电脑上部署. 启动好之后,登录后台管理 像这样 http://127.0.0.1:8080/adm/login admin/admin

后台支持一键生成静态站点

然后去把 {user.home}/site_html 里的所有文件夹及文件上传到你的FTP空间。 后台支持配置你的FTP,让java代码帮你上传。 像这个样子的静态站点 http://javablog.net 搜索功能没有,会跳转到某个网站。

03 git静态部署方式

跟02一样,先生成好静态网站。 然后git push你的git帐号。 像这个一样 https://daodaovps.github.io/


##后台截图


##前台截图

nutzblog's People

Watchers

 avatar

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.