2016-09-03 5 views
0

私はudacityのチュートリアルでバックボーンを学ぼうとしています。このアプリケーションをインストールするには2つのリンクがあります。 FEF-UdaciMeals-Backboneの下CentOSでノードアプリケーションを起動する方法

FEF-UdaciMeals-Backbone

FEF-UdaciMeals-Backbone-Server

、命令はこれを行うには教えてください:

FEF-UdaciMeals-Backbone-Serverプロジェクトのために

Set up the project 

clone this repo 
cd into the newly cloned project 
install Bower dependencies via bower install 
Set up the server 

clone the backend server 
launch the binary for your platform 
don't forget the --www flag pointing to the UdaciMeals Backbone project you just cloned above 
check out that project's Running the server section of its README for specific details 

View the app 

Using your favorite browser, load http://localhost:8000/ and 

を、Readme.mdのスニペットは、次の命令を持っています

The binaries directory contains builds for Windows, Mac OS X ("darwin"), and Linux. 
Run the appropriate server program to start the server, supplying 
the --www= flag to point to your front-end code 
(e.g. on Mac OS X use ./server_darwin_amd64 --www=../../FEF-UdaciMeals-Backbone) 

この例は明らかにMac OSXにありますが、CentOSでこのコマンドをどのように達成するのですか./server_darwin_amd64 --www=../../FEF-UdaciMeals-Backbone

答えて

0

the binaries directory in the repoを見てみると、答えがあるように見えるでしょう:

./server_linux_amd64 --www=../../FEF-UdaciMeals-Backbone 

これは、ありますから、あなたは同じbinariesディレクトリ自体からとFEF-UdaciMeals-Backboneディレクトリへの相対パスというコマンドを実行していると仮定しているようです指定された。 (もしあなたがチュートリアルに従っているなら、後者の仮定はうまくいけばうまくいきます。)

+0

うん、今も今見つかった。確認していただきありがとうございます、少し深く掘っている必要があります。私は3分で答えをマークします。 –

関連する問題