我已将我的节点 Web 应用程序部署到 heroku。它已建成但未能启动。这是输出的前几行:
2018-03-05T20:17:51.058817+00:00 heroku[web.1]: - Starting process with command `npm start`
2018-03-05T20:17:52.868249+00:00 app[web.1]: - npm ERR! missing script: start
2018-03-05T20:17:52.874771+00:00 app[web.1]: -
2018-03-05T20:17:52.874973+00:00 app[web.1]: - npm ERR! A complete log of this run can be found in:
2018-03-05T20:17:52.875068+00:00 app[web.1]: - npm ERR! /app/.npm/_logs/2018-03-05T20_17_52_869Z-debug.log
Run Code Online (Sandbox Code Playgroud)
错误日志还在继续,但我正在尝试定位日志位置:
/app/.npm/_logs/2018-03-05T20_17_52_869Z-debug.log
我如何才能做到这一点?
我正在学习Swift并且能够构建一个基本的应用程序.我有一个应用程序作为最终目标,将允许用户登录,回答问题(我不断添加并记录他们的结果.
这显然需要在线托管和访问的某种形式的数据库.我的想法是,这将使用类似MySQL Db(如网站数据库)的东西来完成,但这是最好的和普遍接受的做事方式吗?
我正在运行Parse Server(https://github.com/ParsePlatform/parse-server-example)的干净Heroku和MLab安装,我使用Parse Server Dashboard控制它(https://github.com/ParsePlatform/parse-dashboard).
我可以进行Rest API调用并创建新类.如何阻止通过API调用(登录用户或匿名)创建新类?
看起来目前在Parse Server Dashboard中没有对此的控制.