uprtcl / linked-thoughts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project under development

Dev

Checkout and run the backend server

(Needs docker installed)

cd ..
git clone https://github.com/uprtcl/js-uprtcl-server.git
cd js-uprtcl-server

run dgraph

sudo docker run --rm -it -p 8080:8080 -p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgraph dgraph/standalone:v20.03.3

add a .env file like this one and on another terminal run the server in debug mode

npm i
npm run debug

Then, to run this app first create env file:

cd ../linked-thoughts
cd src/services
touch env.ts

And fill it with:

export const env = {
  // host: 'https://api.intercreativity.io/uprtcl/1',
  host: 'http://localhost:3100/uprtcl/1',
};

Then install dependencies and run in dev mode.

npm i
npm run dev

You can now gead to http://localhost:8002!

-> doc/docID?forkID=forkId

Readonly loggedIn

About

License:MIT License


Languages

Language:TypeScript 97.4%Language:HTML 1.0%Language:JavaScript 0.9%Language:Shell 0.6%