Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.63 KB

INSTALLATION.md

File metadata and controls

61 lines (40 loc) · 1.63 KB

Poly

This is main repository for Poly, the model sharing platform.

Dependancy

Poly server is dependant on AWS S3 and MySQL.

Build server

To build you Poly Server, perform the following steps.

  • Clone repository and install node packages
  • Prepare S3Server for Poly server
  • Create OAuth ID from Google and Github
  • Update .env file
  • Run Poly Server

Cloning repository

To clone Poly repository, execute the commands below.

$ git clone --depth=1 https://github.com/parallelspaceRE/poly-web
$ cd poly-web
$ npm install

Preparing S3Server

Using AWS S3 may be charged under AWS policy.

Create new S3 Bucket for Poly server.

Creating OAuth ID

Following steps are guides for server which domain name is poly-web.com

If you don't have domain and want to run server for test, you can replace domain name to http://localhost:3000.

Google

Create OAuth 2.0 Client ID from Google Cloud console

Github

Create OAuth ID from Github Developer settings