🚧 under construction 🚧
This is the new Media Cloud search application. It is intended to support online media research across platforms such as online news, Twitter, Reddit, and other social media (via 3rd party APIs). We also use it to manage a large set of geographical and topical content collections, supporting reseearch into specific sub-corpora of content on those platforms.
Expected to launch publicly in early 2023
- Clone this repository
- Install python, npm, postgres and redis
- Python:
pip install -r requirements.txt
orconda install --file requirements.txt
- Node:
npm install
in base folder - Copy
mcweb/.env.template
tomcweb/.env
and edit that one to enter in all your secret configuration variables python mcweb/manage.py migrate
to create all the database tables neededpython mcweb/manage.py createsuperuser
to create a Django superuser for administration
- Run the backend:
python mcweb/manage.py runserver
- Run the frontend:
npm run dev
- Then visit http://127.0.0.1:8000/.
Other useful commands:
- import collection/source/feed data (from a folder on your computer):
python mcweb/manage.py importdata
- login to
http://localhost:8000/admin
to administer users and groups - Two running terminals (1) django "backend" and (2) react "frontend"
- Two running websites (1) http://localhost:8000/admin for administer users and groups and (2) http://localhost:8000/#/ for Media Cloud "Proof of Concept"
- Redux Dev Tools (Google Chrome Extension) to see the live store
npm run build