Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (28 loc) · 1.07 KB

Install.md

File metadata and controls

33 lines (28 loc) · 1.07 KB

Prerequisites

Before you can install IATI Studio, be sure to have the following installed on your machine:

  • Node (5.8.0)
  • NPM (3.9.3)
  • MongoDB (3.0.4)

Install dependencies

In a terminal window, clone the IATI Studio repository to your local machine, and navigate to the 'app' folder. Run:

npm install

Configuration

After installing the dependencies, you have to prepare your config files. Sample config files are provided in 'app/server/config'. Make a copy of sample.oauth.js and sample.config.js, rename them to oauth.js and config.js, and edit them with your project's parameters.

Oauth.js is used for social media logins, and can be left alone if you do not wish to use this feature.

Config.js needs a valid:

  • oipa_url
  • Cryptokey
  • SMTP setup (if using account verifications)

You can play around with the other settings.

Run the app

Make sure MongoDB is running, by issuing the command:

mongod

Then launch the app:

npm run dev

Once your bundle has been built, use your browser to navigate to http://localhost:2000 and have fun.