問題タブ [tungus]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
node.js - MongoDB なしで KeystoneJS を実行する際の問題
MongoDB なしで KeystoneJS を実行してみます。
http://ifrederik.com/blog/2014/11/cms-without-db-running-keystonejs-without-mongodb/で、その方法を説明する短いブログ投稿があります。
基本的に、MondgoDB を TingoDB に置き換える方法と、Tungus ドライバーを使用する方法について説明します。
keystone.js
アドバイスは、ファイルの先頭に次を入れることです
その後、mongo データベースの URL を TingoDB に設定します。
これを行うことで、KeystoneJS を起動して実行することができました。TingoDB の data/users ファイルの内容を調べると、デフォルトのユーザーが作成されていることもわかりますが、ログインできませんでした。ユーザー名とパスワードの組み合わせが正しくないと常に報告されます。
私は何が欠けていますか?ここで問題が正確に何であるかを知るために、問題をデバッグするにはどうすればよいですか?