Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mitodl/open-widget-sample-app

a django app that demonstrates how to use the open-widget-framework
https://github.com/mitodl/open-widget-sample-app

Last synced: 6 days ago
JSON representation

a django app that demonstrates how to use the open-widget-framework

Awesome Lists containing this project

README

        

# open-widget-sample-app

A sample app to demonstrate, develop and test the open widget framework (https://github.com/mitodl/open-widget-framework).

## Installation
pip install the `open_widget_framework` django package:
```bash
pip install open_widget_framework
```

npm install the `open-widget-framework` npm module:
```bash
npm install @zagaran/open-widget-framework
```

Install other dependencies with `pip-compile` -> `pip-sync` and `npm install`

Compile the js with:
```bash
npm run build
```

and then collect the static files with
```bash
python manage.py collectstatic
```

## Running Locally
To run application locally, use:
```bash
python manage.py runserver
```