Getting started
Below are directions on how to get started building the Origin platform (including UI, backend, SDKs).
Before you can start Origin development, you need to go through basic installation and building process.
- Make sure you are using Node 14.x.x
- Make sure you have Java runtime installed in your system
- Install
yarn
package manager usingnpm i -g yarn
- Install
rushjs
(rushjs.io):npm install -g @microsoft/rush
- Origin requires PostgreSQL database installed and configured
- Clone Origin repository branch master
- Copy
.env.example
to.env
(default values are for now) - Install packages using
rush update
command - Build using
rush build
command
Note
We recommend using Docker for all external services, databases etc, please follow (requires psql command line tool installed):
docker pull postgres
docker run --name origin-postgres -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 postgres
psql -h localhost -p 5432 -U postgres -c "CREATE DATABASE origin"