Skip to content

Files

Latest commit

Sep 21, 2016
d6294c9 · Sep 21, 2016

History

History
This branch is 201 commits behind Dataman-Cloud/crane:master.

frontend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 13, 2016
Sep 8, 2016
Sep 8, 2016
Sep 20, 2016
Sep 8, 2016
Sep 8, 2016
Sep 18, 2016
Sep 8, 2016
Sep 21, 2016
Sep 8, 2016
Sep 8, 2016
Sep 8, 2016
Sep 10, 2016
Sep 21, 2016
Sep 14, 2016
Sep 8, 2016
Sep 13, 2016
Sep 8, 2016
Sep 8, 2016
Sep 21, 2016
Sep 8, 2016
Sep 8, 2016

frontend

how to start the frontend independently, given that these is a running backend?

Option 1: nginx in docker

CRANE_IP=X.X.X.X ./bin/start.sh

then, visit http://localhost

Option 2: gulp serve

  1. install the package dependence
npm install && bower install
  1. edit the config file conf.js, make SAMPLES_URL = '/stack_samples/'
  2. start the serve
gulp serve
  1. visit http://localhost:5000