qskane / surface

Frontend source code of imgtrip.com (offline)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SURFACE

Required

  • nodeJs >= 8.10.0

INSTALL

  1. 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
  1. Dependencies
    yarn install
    # or
    npm install 
    # or other dependency management tools whatever you like.
  1. Compile protobuf
    # FIXME: The PROTOC_GEN_TS_PATH value must be manually modify to suit different OS.
    bash compile-protobuf.sh
  1. Set env

Copy .env.development to your unix like terminal.

  1. Start up
    npm run start:dev

Browser visit http://localhost:3000

Contributing

CONTRIBUTING.md

About

Frontend source code of imgtrip.com (offline)

License:MIT License


Languages

Language:JavaScript 68.3%Language:TypeScript 31.6%Language:Shell 0.1%Language:Dockerfile 0.1%Language:CSS 0.0%