1 Star 0 Fork 0

梁钧皓 / donaldsebleung-com

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

My personal website reinstated, this time written in Spring

Installing

From the Snap store

Ensure snapd is installed on your system, then install donaldsebleung-com from the Snap store.

Next, run the following commands to make your CA-issued (or self-signed) key-certificate pair available to donaldsebleung-com:

$ sudo donaldsebleung-com install-key < /path/to/your/key.pem
$ sudo donaldsebleung-com install-cert < /path/to/your/cert.pem

If your private key is protected by a passphrase <passphrase>, run the following command to make donaldsebleung-com aware of it:

$ sudo donaldsebleung-com set-passwd "<passphrase>"

Finally, enable the service snap.donaldsebleung-com.donaldsebleung-comd.service to run at boot:

$ sudo systemctl enable --now snap.donaldsebleung-com.donaldsebleung-comd.service

From source

Ensure that Java 8 or later is installed (ideally Java 11 or later) and that the JAVA_HOME variable is set correctly. Furthermore, ensure Git is installed. Then, in a terminal or command prompt:

$ git clone https://github.com/DonaldKellett/donaldsebleung-com.git
$ cd donaldsebleung-com

Now you can run the project with (replace mvnw with mvnw.cmd if on Windows):

$ ./mvnw spring-boot:run

Point your browser to https://localhost:8443 to see the result. Note that your browser may block the site due to the use of a self-signed certificate. In this case, it should be safe to ignore the warning and proceed with visiting the site.

Alternatively, you could package the project with (again, replace mvnw with mvnw.cmd if on Windows):

$ ./mvnw package

This creates a Java archive at target/personal-website-0.0.1-SNAPSHOT.jar which can be run with:

$ java -jar target/personal-website-0.0.1-SNAPSHOT.jar

For convenience, you may wish to move the JAR elsewhere.

Credits

The front-end design is based on Hyperspace by HTML5 UP, released under the CC BY 3.0 license.

License

MIT

MIT License Copyright (c) 2021 Donald Sebastian Leung Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

我的个人网站(GitHub 镜像) 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/donaldsebleung/donaldsebleung-com.git
git@gitee.com:donaldsebleung/donaldsebleung-com.git
donaldsebleung
donaldsebleung-com
donaldsebleung-com
main

搜索帮助