Running Angello using Firebase
1. 코드 로컬에 복사
1 2 3 4 5 6 7 8 9 | (envangular)root@localhost:~/angular# git clone git@github.com:angularjs-in-action/angello.git Cloning into 'angello'... Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts. Enter passphrase for key '/root/.ssh/id_rsa': remote: Counting objects: 1774, done. remote: Total 1774 (delta 0), reused 0 (delta 0), pack-reused 1774 Receiving objects: 100% (1774/1774), 2.27 MiB | 1.41 MiB/s, done. Resolving deltas: 100% (764/764), done. Checking connectivity... done. | cs |
2. Firebase 계정 생성 (https://www.firebase.com)
구글 계정과 연동된다. 레거시 홈페이지에서 아래와 같이 앱 생성완료.
3. 생성된 app URL 클릭
https://pyangello.firebaseio.com/
4. URI 수정
/root/angular/angello/client/src/angello/app/services/EndpointConfigService.js 편집
현재
5. angello 디렉토리에서 다음 명령어 실행
1 2 3 4 5 6 7 8 9 | (envangular)root@localhost:~/angular/angello# npm install -g serve /usr/local/bin/serve -> /usr/local/lib/node_modules/serve/bin/serve serve@1.4.0 /usr/local/lib/node_modules/serve ├── commander@0.6.1 ├── connect@2.3.9 (fresh@0.1.0, bytes@0.1.0, cookie@0.0.4, crc@0.2.0, qs@0.4.2, debug@2.2.0, formidable@1.0.11, send@0.0.3) ├── stylus@0.54.5 (css-parse@1.7.0, debug@2.2.0, mkdirp@0.5.1, source-map@0.1.43, sax@0.5.8, glob@7.0.3) ├── jade@1.11.0 (character-parser@1.2.1, void-elements@2.0.1, commander@2.6.0, mkdirp@0.5.1, jstransformer@0.0.2, clean-css@3.4.17, co nstantinople@3.0.2, with@4.0.3, transformers@2.1.0, uglify-js@2.6.2) └── less-middleware@2.1.0 (mkdirp@0.5.1, node.extend@1.1.5, less@2.6.1) (envangular)root@localhost:~/angular/angello# serve client/ | cs |
6. 완성된 모습
7. 로그인 시도 → 그러나 실패
https://github.com/angularjs-in-action/angello/issues/34
Dunno if you've solved your issue or not, but I ran into the same problem. Despite what the instructions say, serving the app from my default Apache server did not work. Instead serving it on the Node created server does work.
Hope this prevents someone from banging her head against the wall for hours the way I did :)
'Season 1 아카이브 > 카테고리 없음' 카테고리의 다른 글
| 완벽하게 일관적인 사람은 죽은 사람뿐이다 (0) | 2016.10.01 |
|---|---|
| 아나콘다 가상환경 지우기 Remove an environment (2) | 2016.06.11 |
| 우분투에 MongoDB 설치하기 Install MongoDB on Ubuntu (0) | 2016.06.10 |
| Github 계정에 SSH 키 등록하기 Adding a new SSH key to your GitHub account (0) | 2016.06.10 |
| AngularJS - 안젤로 Lite 설치 (0) | 2016.06.09 |
업그레이드된 콘솔에서 사용자 추가 후 진행해도 마찬가지로 안된다.
비밀번호를 리셋해도 마찬가지다.
깃허브에서 angello 이슈를 살펴보니, 같은 에러를 겪고 있는 사람이 한 둘이 아니다. 노드에서 된다고 하니 노드 베이스로 다시 해봐야겠다. 진작 찾아볼 걸.