Skip to content

apporoad/pnote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pnote

pnote short for personal note, it is a website for note for everybody

version

v2.0

website

private site is site

how to use

how to deploy

just try it

npm i -g aok.js

aok https://github.com/apporoad/pnote.git  -r api -s static
#or
aok https://github.com/apporoad/pnote/blob/master/pnote.zip?raw=true --type zip -r api -s static

rm -rf .aok

produce env

git clone https://github.com/apporoad/pnote.git
cd pnote
npm i -g pm2
npm i -g aok.js

pm2 start --name pnote aok -- api -s static -p 11540

# visit http://localhost:11540/

ps

support view mode :
try get http://localhost:11540/abc?mode=view

docker run

mkdir -p /data/pnote
cd /data/pnote
cat > data.json << eof
{"/":{"value":"hello good day"}}
eof

docker run -d --name pnote -p 1154:1154 -v /data/pnote/data.json:/pnote/api/data.json apporoad/pnote:1

#visit localhost:1154

dockerfile

git clone https://github.com/apporoad/pnote.git

cd pnote

docker build -t apporoad/pnote:1 .

docker run -d --name pnote -p 1154:1154 apporoad/pnote:1 

#visit localhost:1154

About

pnote short for personal note, it is a website for note for everybody

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages