These are very brief, likely incomplete, installation instructions. If you want to install the system, follow these instructions as they are and send any questions to [email protected].
These instructions assume comfort with Perl, Python, PostgreSQL, and Docker. You may have a difficult time installing the system if you do not have at least some experience with all four of them.
- Install and configure Docker as detailed in our Requirements page.
- If you're unfamiliar with Docker, we recommend that you try it out a few tutorials before proceeding further:
- Get acquainted with basic Docker and Media Cloud concepts in Docker concepts
- Learn how to do common operations with Docker from our Docker cheat sheet.
- To be able to change the apps' code and test your changes, you'll find it useful to use the Development / testing environment
- A bunch of developer scripts are here to make it easier to do every day operations; read about them in Developer scripts
- Every app has its own PyCharm project; learn how to configure PyCharm to run Media Cloud apps
- Before creating new apps or modifying the current ones, you might want to read through the Creating apps
- Find out how to pass configuration to app containers in a Configuration tutorial.
- Should you need to update the PostgreSQL schema, you should follow the steps detailed in Updating PostgreSQL schema
- Sending email from apps is easy
- Most software projects come with a bunch of helper scripts; we keep them in Tools
- Deploying apps in production is slightly different than running them in a development environment as detailed in Deploying
- If you encounter any issues while building and running apps, take a look at Docker issues
- In certain cases, you might want to run Docker remotely
Perform brilliant analysis, fix our broken code, document how the system works, and otherwise contribute to the project.
If you would like to test out Media Cloud with a sample dataset, you can use our Global Voices database dump available at:
<https://mediacloud-sample-dumps.s3.amazonaws.com/sample-dumps/mediacloud-globalvoices-unextracted-4616.sql.xz>
Import the dump into a PostgreSQL instance running in a postgresql-server
app.
Afterwards, you will be able to log in to the web interface using the sample user credentials from install.sh
, i.e. with username [email protected]
and password mediacloud
.