Minds is an open-source, encrypted and reward-based social networking platform. https://minds.com
Minds is split into multiple repositories:
- Engine - Backend code & APIs
- Front - Client side Angular2 web app
- Sockets - WebSocket server for real-time communication
- Mobile - React Native mobile apps
-
10GB RAM (be sure to set it in your docker settings)
-
100GB Disk space
- Docker Compose
Enabling full installation
By default, we try not to eat your machine by running the full stack. You'll be able to run the app, but you won't have search and indexing. If you need everthing, be sure to uncomment the depends_on
services in
- runners
- php-fpm
Then you can run:
- Run
sh init.sh
in order to install the front and engine repositories - Run
docker-compose up -d nginx
- Run
docker-compose up installer
(one time only.. initial username: minds / password: Pa$$w0rd) - Run
docker-compose up front-build
- Navigate to
http://localhost:8080
-
Minds is already installed
- Ensure engine/settings.php does not exist and re-run
docker-compose up installer
- Ensure engine/settings.php does not exist and re-run
-
Cassandra will not boot
- Ensure thrift is enabled
- Cassandra requires at least 4GB of memory to operate. You can start Cassandra manually by running
docker-compose up cassandra
With dockerized enviroments, it's sometimes best to start from scratch. If you want to delete your data, these steps will completely delete your data. You will be starting fresh.
#Remove your settings file
rm engine/settings.php
#Stop your stack
docker-compose down
#Delete your data cache
rm -rf .data
#Purge all volumes
docker volume prune
That will remove all of your locally cached data. You can either rebuild the containers manually by using docker-compose up --build
or delete everything to start fresh.
# Delete all containers
docker rm $(docker ps -a -q)
At this time it is not advisable to run Minds in production, however it is possible so long as you are aware of the risks.
- 3 Cassandra Nodes (Min 30gb RAM, 1TB SSD, 8 CPU)
- 1 ElasticSearch Node (Min 16GB RAM, 250GB SSD, 8 CPU) #2 nodes are recommended for failover
- 1 Docker Machine (Min 60gb RAM, 50GB SSD, 32 CPU)
If you'd like to contribute to the Minds project, check out the Contribution section of Minds.org or head right over to the Minds Open Source Community. If you've found or fixed a bug, let us know in the Minds Help and Support Group!
Please report all security issues to [email protected].
AGPLv3. Please see the license file of each repository.
PHP, Cassandra, Angular2, Nginx, Ubuntu, OpenSSL, RabbitMQ, Elasticsearch, Cordova, Neo4j, Elgg, Node.js, MongoDB, Redis, WebRTC, Socket.io, TinyMCE, Ionic, Requirejs, OAuth, Apigen, Braintree. If any are missing please feel free to add.
Copyright Minds 2012 - 2018
Copyright for portions of Minds are held by Elgg, 2013 as part of the Elgg project. All other copyright for Minds is held by Minds, Inc.