Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
xxx
- Loading branch information
1 parent
0dcee9a
commit 5dc0273
Showing
1,024 changed files
with
539,925 additions
and
539,924 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
assets.log | ||
log.txt | ||
.idea/ | ||
database/ | ||
npl_packages/ | ||
log/ | ||
obj/ | ||
Properties/ | ||
*.out | ||
*.log | ||
.vs/ | ||
*.user | ||
*.ffs_gui | ||
*.ffs_db | ||
*.rp | ||
*.suo | ||
rls/ | ||
test/ | ||
www_build/ | ||
/packages | ||
*.secret | ||
assets.log | ||
log.txt | ||
.idea/ | ||
database/ | ||
npl_packages/ | ||
log/ | ||
obj/ | ||
Properties/ | ||
*.out | ||
*.log | ||
.vs/ | ||
*.user | ||
*.ffs_gui | ||
*.ffs_db | ||
*.rp | ||
*.suo | ||
rls/ | ||
test/ | ||
www_build/ | ||
/packages | ||
*.secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM xuntian/npl-runtime:latest | ||
MAINTAINER xuntian "li.zq@foxmail.com" | ||
|
||
RUN apt-get -y update && apt-get -y install nginx && apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
ADD nginx_config /etc/nginx/sites-available/default | ||
ADD ./ /opt/wikicraft/ | ||
|
||
EXPOSE 80 | ||
EXPOSE 8099 | ||
|
||
WORKDIR /opt/wikicraft | ||
ENTRYPOINT ["./run.sh"] | ||
FROM xuntian/npl-runtime:latest | ||
MAINTAINER xuntian "li.zq@foxmail.com" | ||
|
||
RUN apt-get -y update && apt-get -y install nginx && apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
ADD nginx_config /etc/nginx/sites-available/default | ||
ADD ./ /opt/wikicraft/ | ||
|
||
EXPOSE 80 | ||
EXPOSE 8099 | ||
|
||
WORKDIR /opt/wikicraft | ||
ENTRYPOINT ["./run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#笔记 | ||
|
||
##配置 | ||
|
||
NPLRuntime 地址 | ||
[https://github.com/LiXizhi/NPLRuntime/wiki](https://github.com/LiXizhi/NPLRuntime/wiki) | ||
|
||
##语法 | ||
|
||
NPLRuntime 基本语法 | ||
#笔记 | ||
|
||
##配置 | ||
|
||
NPLRuntime 地址 | ||
[https://github.com/LiXizhi/NPLRuntime/wiki](https://github.com/LiXizhi/NPLRuntime/wiki) | ||
|
||
##语法 | ||
|
||
NPLRuntime 基本语法 | ||
[https://github.com/LiXizhi/NPLRuntime/wiki/TutorialHelloWorld](https://github.com/LiXizhi/NPLRuntime/wiki/TutorialHelloWorld) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
# Wikicraft Web Site | ||
|
||
### Install Dependencies | ||
Run following to install all required NPL packages | ||
``` | ||
./update_packages.bat | ||
``` | ||
|
||
### Start Server | ||
To start the server at [[http://localhost:8099]], run | ||
``` | ||
./start.bat | ||
``` | ||
Or one can start with following under linux | ||
``` | ||
npl "script/apps/WebServer/WebServer.lua" port="80" root="www/" | ||
``` | ||
|
||
Web server root directory is `www/` | ||
|
||
### Server Log | ||
- error log is at `./log.txt` | ||
- access log is at `./log/access.log` | ||
- database files are at `/Database/npl/` folder | ||
|
||
### Links | ||
- Testing page is at: [[http://localhost:8099/dev/test.page]] | ||
- Debugger page is at: [[http://127.0.0.1:8099/]] | ||
- Design Docs: [[https://github.com/tatfook/wikicraft/wiki]] | ||
- Learning NPL: [[https://github.com/LiXizhi/NPLRuntime/wiki]] | ||
# Wikicraft Web Site | ||
|
||
### Install Dependencies | ||
Run following to install all required NPL packages | ||
``` | ||
./update_packages.bat | ||
``` | ||
|
||
### Start Server | ||
To start the server at [[http://localhost:8099]], run | ||
``` | ||
./start.bat | ||
``` | ||
Or one can start with following under linux | ||
``` | ||
npl "script/apps/WebServer/WebServer.lua" port="80" root="www/" | ||
``` | ||
|
||
Web server root directory is `www/` | ||
|
||
### Server Log | ||
- error log is at `./log.txt` | ||
- access log is at `./log/access.log` | ||
- database files are at `/Database/npl/` folder | ||
|
||
### Links | ||
- Testing page is at: [[http://localhost:8099/dev/test.page]] | ||
- Debugger page is at: [[http://127.0.0.1:8099/]] | ||
- Design Docs: [[https://github.com/tatfook/wikicraft/wiki]] | ||
- Learning NPL: [[https://github.com/LiXizhi/NPLRuntime/wiki]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[ | ||
{ | ||
"outputFileName": "www/wiki/js/markdown/markdownwiki.min.js", | ||
"inputFiles": [ | ||
"www/wiki/js/markdown/markdownwiki.js", | ||
"www/wiki/js/markdown/markdown-it-wikicmd.js", | ||
"www/wiki/plugins/highlight/highlight.pack.js" | ||
] | ||
} | ||
] | ||
[ | ||
{ | ||
"outputFileName": "www/wiki/js/markdown/markdownwiki.min.js", | ||
"inputFiles": [ | ||
"www/wiki/js/markdown/markdownwiki.js", | ||
"www/wiki/js/markdown/markdown-it-wikicmd.js", | ||
"www/wiki/plugins/highlight/highlight.pack.js" | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
## Wikicraft License | ||
- Date: 2016.9.14 | ||
- GPL license: free and open sourced | ||
- Website: [[http://wikicraft.cn/]] | ||
|
||
> Contact: lixizhi@yeah.net | ||
|
||
## Wikicraft License | ||
- Date: 2016.9.14 | ||
- GPL license: free and open sourced | ||
- Website: [[http://wikicraft.cn/]] | ||
|
||
> Contact: lixizhi@yeah.net | ||
|
Oops, something went wrong.