2017-02-04 11 views
0

私はuberspaceウェブスペースにjingo wikiをインストールしたいと思います。私はNode.js jingo wikiをインストールする

ここ

https://github.com/claudioc/jingohttps://wiki.uberspace.de/development:nodejs(ドイツ)のチュートリアルに従うことを試みたが、私はnode.js.を持つ任意の経験を持っていないので、I'amはまだ完全に過充電します

私は〜/ jingoというフォルダにjingoをクローンしました。

npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade 
npm WARN deprecated [email protected]: Deprecated, use jstransformer 

私もノードを開始する

$ test -d ~/service || uberspace-setup-svscan 

をした:そして、私はその後、jingoフォルダ内npm installを行なったし、いくつかの警告を取得し、バージョン7

$ echo 'export PATH=/package/host/localhost/nodejs-7/bin:$PATH' >> ~/.bash_profile 
$ source ~/.bash_profile 

に自分のNode.jsを変更しました.jsをサービスとして(私が理解する限り)。

はその後Uberspaceチュートリアル以下、私がアプリケーションを起動するために

$ uberspace-setup-service exampleservice node ~/example.js 

を行う必要があります。しかし、私は実際にそれを開始するためにjingoの*.jsファイルを見つけることを知りません。どうすればいいですか?

答えて

0

私は何とかそれを解決したと思います。その後、のようなソースフォルダ内の実行可能jingoでWikiを開始します。まず、(https://github.com/claudioc/jingoここで説明したように):config.yamlを設定する必要があり

jingo -c /path/to/config.yaml 

またはuberspace上のサービスとして

uberspace-setup-service jingo node "~/jingo/jingo -c /path/to/config.yaml" 

次に、localhost:67102へのリダイレクトを作成する必要があります(または、何かを聞いている場合はconfig.yamlで設定できます)

44エラーとスタイル404もありますが、少なくともあなたはwiki i sが始まった。

関連する問題