isnowfy / markblog Goto Github PK
View Code? Open in Web Editor NEWstatic blog system with python
static blog system with python
pip install -r requirements.txt
hi.
git clone https://github.com/isnowfy/markblog
cd markblog
pip install -r requirements.txt
as3:/markblog# ls/markblog#
config.json main.py post.json README requirements.txt templates
as3:
as3:/markblog# python main.py init/markblog# ls
as3:
blog config.json main.py post.json README requirements.txt templates
as3:/markblog# cd blog/markblog/blog# python
as3:/markblog/main.py post/markblog/blog# ls
Traceback (most recent call last):
File "/root/markblog/main.py", line 216, in
eval(sys.argv[1])(_sys.argv[2:])
File "/root/markblog/main.py", line 88, in post
path = 'blog/src/post/%s' % args[0]
IndexError: tuple index out of range
as3:
atom.xml config.json css js search.json
as3:~/markblog/blog# python /markblog/main.py update/markblog/blog#
Traceback (most recent call last):
File "/root/markblog/main.py", line 216, in
eval(sys.argv[1])(_sys.argv[2:])
File "/root/markblog/main.py", line 197, in update
feeds(posts)
File "/root/markblog/main.py", line 129, in feeds
with open('blog/atom.xml', 'w') as f:
IOError: [Errno 2] No such file or directory: 'blog/atom.xml'
as3:
无论运行python ~/markblog/main.py post还是python ~/markblog/main.py update都出错。怎么解决?
谢谢侬。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.