rettar5 / 20181111_1day_intern

MIT License
0 stars 0 forks source link

DreamArts 20卒対象 11/11開催 ライブコーディング&CTOが語るグロースハック

超絶ライブコーディング Angularで作るWEBアプリケーション

Overview

This is simple chat app by Angular 7 and Cloud Firestore.
You need not install node.js and angular-cli and etc, then you can try quickly. Because Angular project build on docker.

Installation

  1. Install docker and git on your PC.
  2. Download this repository.
    • $ git clone https://github.com/rettar5/20181111_1day_intern.git
    • $ cd 20181111_1day_intern.git
  3. Build docker image.
    • $ ./bin/build-image or $ docker build -t rettar5/1dayintern .
  4. Setup authentication of firebase.
  5. (Optional) Setup authentication of google account for E2E tests.
    • $ cp chatapp/e2e/account.config.ts.sample chatapp/e2e/account.config.ts
    • $ vi chatapp/e2e/account.config.ts

Usage

  1. Create and run docker container.
    • $ ./bin/run or $ docker run -itd --rm --name 1dayintern -v `pwd`/chatapp:/chatapp -p 4200:4200 rettar5/1dayintern
  2. (Optional) Show docker container logs.
    • $ ./bin/logs or $ docker logs -f 1dayintern
  3. You can use sample chat app, If you access http://localhost:4200 by browser.
  4. Stop and remove docker container.
    • $ ./bin/stop or $ docker stop 1dayintern

License

MIT