Install and run Node v8.1.2
Setup and run mehserve
echo 3233 > ~/.mehserve/curriculum.learnersguild
mehserve run
Setup and run IDM
Setup and run Echo
First, fork and clone the curriculum repository.
npm install
create a .env
file like this:
PORT=3233
DATABASE_URL=postgres://localhost:5432/lg-curriculum
IDM_BASE_URL=http://idm.learnersguild.dev
ECHO_BASE_URL=http://echo.learnersguild.dev
JWT_PUBLIC_KEY="SEE IDM SETUP"
LOG_SQL_QUERIES=1
NOTE: you can set DISABLE_IDM=1
to disable authentication to IDM
createdb lg-curriculum
npm run db:migrate
npm run dev