Comments (3)
需要先执行用来生成数据库表的 flask initdb
命令。
from sayhello.
谢谢回复!
目前是,程序运行没有问题,但是找不到 data.db 文件;
然后,当程序再次运行,选择不生成 data.db 文件,就会报错找不到 data.db;
环境是 ubuntu16.04,是配合 apache2 使用的。
再次感谢您的回复和您的工作!
from sayhello.
当程序再次运行,选择不生成 data.db 文件
不太清楚你的具体操作是什么?数据库文件只需要生成一次,不需要每次运行程序都生成。也许是文件权限的问题?
再次感谢您的回复和您的工作!
不客气 :)
from sayhello.
Related Issues (20)
- 用gunicorn部署问题 HOT 2
- 新手求教!! HOT 2
- 我该如何再pychram上部署这个项目呢 HOT 1
- 在pycharm上部署该项目,在view模块报错 HOT 6
- Error: No such command "forge".
- 分支切换到Bootstrap 的tag时 flask run 出现了错误 HOT 2
- 直接clone下代码,在pycharm运行项目的时候,就报了错误,会不会是环境配置的问题,,从邮件那篇开始就总有traceback HOT 2
- sqlalchemy报错 HOT 1
- add delete function HOT 1
- pip install -r requirements.txt failed for Watchdog on macOS HOT 2
- 书的后面给出了替换为了bootsrap的内置的渲染表单的方法
- Eepos
- Invalid package HOT 2
- Upgrade deoendencies
- 感觉书中有几个错误,还请核对 HOT 1
- 7.4最后一句中的疑问 HOT 1
- heroku HOT 9
- flask forge Error: No such command "forge HOT 6
- jinja2.exceptions.TemplateNotFound: bootstrap/form.html HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sayhello.