Skip to content

The repo we never wanted to have to create

Notifications You must be signed in to change notification settings

JoinColony/colonyServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7712c51 · Sep 21, 2021
May 12, 2020
Nov 26, 2019
Mar 20, 2020
Jul 22, 2020
Aug 29, 2021
Sep 14, 2020
Jan 9, 2020
Nov 26, 2019
May 12, 2020
Jan 17, 2020
Nov 23, 2019
Dec 18, 2019
Jan 17, 2020
Dec 16, 2019
May 6, 2020
Apr 27, 2020
Sep 21, 2021
Aug 29, 2021
Mar 31, 2020
Jul 29, 2021

Repository files navigation

colonyServer

GraphQL-powered metadata server for colonies, with on-chain authentication via the Colony Network.

Prerequisites

  • mongod >=3.6
  • solc >=0.5.8 (we recommend via Docker)

Setup

# Set up colonyNetwork submodule
git submodule update --init --recursive
cd lib/colonyNetwork
npm install
npm run provision:token:contracts
cd ../..

# Copy .env.example (make changes where appropriate)
cp .env.example .env

# Set up colonyServer, create the database and start the server
npm install
# If necessary, start mongod:
# npm run db:start
npm run db:setup
npm run dev

# For authentication, compile and migrate colonyNetwork contracts
cd lib/colonyNetwork
npm run start:blockchain:client
npx truffle migrate --reset --compile-all