2016-09-03 2 views
0

udacity의 자습서로 백본을 배우려고합니다. 이 응용 프로그램을 설치하기위한 두 개의 링크가 있습니다. FEF-UdaciMeals-Backbone에서 CentOS에서 노드 응용 프로그램을 시작하는 방법

FEF-UdaciMeals-Backbone-Server

FEF-UdaciMeals-Backbone

이 지침이 날 이렇게 말할 :

:

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 

FEF-UdaciMeals-Backbone-Server 프로젝트의 경우, 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 분 안에 답을 표시하겠습니다. –

관련 문제