leetaogoooo / peach-blog Goto Github PK
View Code? Open in Web Editor NEW🍑 a blog based on flask
License: MIT License
🍑 a blog based on flask
License: MIT License
$ flask shell
Traceback (most recent call last):
File "c:\programdata\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\programdata\anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\Scripts\flask.exe_main.py", line 7, in
File "c:\programdata\anaconda3\lib\site-packages\flask\cli.py", line 966, in main
cli.main(prog_name="python -m flask" if as_module else None)
File "c:\programdata\anaconda3\lib\site-packages\flask\cli.py", line 586, in main
return super(FlaskGroup, self).main(*args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "c:\programdata\anaconda3\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\programdata\anaconda3\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\programdata\anaconda3\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\click\decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\flask\cli.py", line 425, in decorator
with _ctx.ensure_object(ScriptInfo).load_app().app_context():
File "c:\programdata\anaconda3\lib\site-packages\flask\cli.py", line 392, in load_app
app = locate_app(self, import_name, None, raise_if_not_found=False)
File "c:\programdata\anaconda3\lib\site-packages\flask\cli.py", line 240, in locate_app
import(module_name)
File "C:\Users\panxi\Desktop\peach-blog\wsgi.py", line 3, in
application = create_app(os.environ.get('FLASK_ENV'))
File "C:\Users\panxi\Desktop\peach-blog\app_init.py", line 33, in create_app
app.config.from_object(config[config_name])
KeyError: None
replace the url like '/post/int:id', '/tag/int:tag_id' to '/post/string:title' , '/tag/string:tag'
automatic backup, push files to github
can simplely upgrade peach-blog with only one click
If this project has helped you, and you have successfully deployed your website with this project,
please leave your URL here and let more people see it.
Your reply will be the driving force for me to continue to update and maintain.
update post error when it contains a cover
make a series of lessons under one topic
I found some junk information appeared in the posts these days,checking comments legally before displaying is essential
TOC 目录后第一行会变成 precode 元素
Can upload covers for every post and can preview covers
share post to somewhere
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.