How to install RadGrad

Obtain repo permissions

To do RadGrad development, you must obtain write access to the RadGrad repository.

Note that our software process (IDPM) does not involve forking and pull requests. Instead, you will clone this repository and make branches to carry out development tasks.

Install Meteor

Next, download and install Meteor.

Download RadGrad

Next, download the RadGrad source code from https://github.com/radgrad/radgrad2.

Install RadGrad

Next, cd to the radgrad2/app/ directory and invoke meteor npm install:

radgrad2/app $ meteor npm install

This will download and install the third-party libraries required to run this system. If you are not in the app directory and you run meteor npm install. You will see something like:

radgrad2 $ meteor npm install
up to date in 0.426s
found 0 vulnerabilities
radgrad2 $

Initialize database

To make sure the database starts from an empty state, run:

radgrad2/app$ meteor reset
Project reset.
radgrad2/app $

Run system locally

To run the system, invoke this command:

radgrad2/app$ meteor npm run start
> radgrad2@ start radgrad2/app
> cross-env METEOR_NO_RELEASE_CHECK=1 meteor --settings ../config/settings.development.json --port 3200
[[[[[ radgrad2/app ]]]]]
=> Started proxy.
=> Started MongoDB.
I20200611-08:48:54.054(-10)? Defining admin radgrad@hawaii.edu with password foo
I20200611-08:48:54.136(-10)? Loading database from file database/snapshot/2020-01-24-11-37-22.json, dumped 5 months ago.
I20200611-08:48:54.137(-10)? Defining 29 AcademicTermCollection documents.
I20200611-08:48:54.641(-10)? Have 29 documents.
[snip]
I20200611-08:49:19.985(-10)? Defining 0 FavoriteOpportunityCollection documents.
I20200611-08:49:19.986(-10)? Have 0 documents.
I20200611-08:49:19.986(-10)? Finished loading database.
I20200611-08:49:25.023(-10) (packages\percolate_synced-cron.js:87) SyncedCron: Scheduled "Create/update Ice Snapshot for each student" next run @Fri Jun 12 2020 00:00:00 GMT-1000 (Hawaii-Aleutian Standard Time)
I20200611-08:49:25.025(-10) (packages\percolate_synced-cron.js:87) SyncedCron: Scheduled "Run the PublicStats.generateStats method" next run @Fri Jun 12 2020 00:00:00 GMT-1000 (Hawaii-Aleutian Standard Time)
I20200611-08:49:25.025(-10) (packages\percolate_synced-cron.js:87) SyncedCron: Scheduled "Run StudentParticipations.upsertEnrollmentData" next run @Fri Jun 12 2020 00:00:00 GMT-1000 (Hawaii-Aleutian Standard Time)
=> Started your app.
=> App running at: http://localhost:3200/
Type Control-C twice to stop.

This will invoke the "start" script in package.json, which initializes the database (if empty) with sample data. Go to http://localhost:3200 to confirm that the system is running:

Last updated on by Philip Johnson