- nodeJs >= 8.10.0
- Download
# download repository
git clone git@gitlab.com:imgtrip/surface.git
# download protobuf submodules. you can just simple use `git submodule` command to achieve this.
cd surface/protobuf
git fetch origin
git checkout master
- Dependencies
yarn install
# or
npm install
# or other dependency management tools whatever you like.
- Compile protobuf
# FIXME: The PROTOC_GEN_TS_PATH value must be manually modify to suit different OS.
bash compile-protobuf.sh
- Set env
Copy .env.development
to your unix like terminal.
- Start up
npm run start:dev
Browser visit http://localhost:3000