wi-wissen/InstaHub
wi-wissen/InstaHub has 33 GitHub stars and 10 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-11 07:18 UTC. Last push 2026-10-25.
Comment ces chiffres sont mesurés
social network for educational purposes only
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- Mise à jour retardée
- in 15 days
- Mise à jour retardée
- in 1 month
- Mise à jour retardée
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalInstaHub
Source code and install instructions are in English. Documentation and excersices currently are available in German only.
InstaHub is a social network for educational purpose only. Students can create their own social network as a database admin. They learn basics about working in a software project, creating and managing a database, querying (SQL SELECT) and editing (SQL INSERT, UPDATE and DELETE).
This project aims to help students develop a general technical understanding of social networks. As result, they will be able to discuss sinjects as big data and information privacy.
Live Demo: https://instahub.org/
Read more (only in German): https://blog.wi-wissen.de/
Standing on the shoulders of giants
Many thanks and respect to:
Photos by pixabay (CC0)
Face images by unsplash.com (CC0)
Fake Ad images based on unsplash.com (CC0)
Install
Prerequisits
- Have min. PHP 8.5
- Download composer https://getcomposer.org/download/
- Download Node.js 24 (incl. npm) https://nodejs.org/
- Download git https://git-scm.com/downloads
Prerequisits for Windows users
- Download XAMMP: https://www.apachefriends.org/download.html
- (Optional) Download and extract cmder mini: https://github.com/cmderdev/cmder/releases/download/v1.1.4.1/cmder_mini.zip
- Update windows environment variable path to point to your php install folder (inside XAMMP installation dir) (here is how you can do this http://stackoverflow.com/questions/17727436/how-to-properly-set-php-environment-variable-to-run-commands-in-git-bash)
Prerequisits for Sail
docker-compose exec mariadb bash
mysql -u root -p
# default: password
GRANT ALL PRIVILEGES ON *.* TO 'sail'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
Mac Os, Ubuntu and Windows
- Create a local database named
instahubwith encoding utf8_general_ci - Create user
instahuband grant all rights oninstahuband for creating databases - cd to your local target folder and clone remote project:
git clone git://github.com/wi-wissen/instahub.git - Rename
.env.examplefile to.envinside your project root and fill in the database information. (windows won't let you do that, so you have to use Notepad++ or open your console, cd your project root directory and runmv .env.example .env) - Edit
.envAPP_ENV=production(IntestTeacher will be activated automatically.)APP_DEBUG=false- enable only temporaly for debugging!DB_*- if you want another database than MySQL, you have to edit source code.DB_USERNAME- user for databaseDB_PASSWORD- passwort for databaseMAIL_*- mail provider for notification of new teachers and resetting passworts (admin accounts may reset passworts without sending a mail)
- Open the console and cd to your project root directory
- Run
composer installorphp composer.phar install(Howto install composer) Optional: Just to be safe or if an error occur on bootup runphp artisan config:clear - You may need to configure some permissions. Directories within the
storageand thebootstrap/cachedirectories should be writable by your web server - Run
php artisan storage:link - Run
php artisan key:generate - Run
php artisan migrate - Run
php artisan migrate --path=/database/migrations/create/users - Configure your top-level domain and all subdomains (wildcard) to point to the
publicdirectory - Visit website and create first teacher (ignore error after creating, thats okay cause you are the first).
- In the
usertable of your database, manually set the attributeis_activeto1androletoadmin. Now your user is admin and may manage other accounts.
I recomend to add a cronjob to your system: * * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1
Then InstaHub will delete old analytic database files each night.
Update
php artisan migratephp artisan migrate:hubs
Contributing
Thank you for considering contributing to the InstaHub! Create a pull request or contact me.
Contributers
InstaHub used parts of Laragram from itsshady101
License
Explorer des projets similaires
Asabeneh/30-Days-Of-Python
Le défi de programmation 30 Days of Python est un guide pas à pas pour apprendre le langage de programmation Python en 30 jours. Ce défi peut prendre plus de 100 jours. Avancez à votre rythme. Ces vidéos peuvent aussi vous aider : https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 étoilesgrafana/grafana
Plateforme ouverte et composable d’observabilité et de visualisation de données. Visualise les métriques, les journaux et les traces issus de plusieurs sources, comme Prometheus, Loki, Elasticsearch, InfluxDB, Postgres et bien d’autres.
77,830 étoilesredis/redis
Pour les développeurs qui créent des applications en temps réel pilotées par les données, Redis est le cache, le serveur de structures de données et le moteur de requêtes documentaires et vectorielles préféré, le plus rapide et le plus riche en fonctionnalités.
77,395 étoilesapache/superset
Apache Superset est une plateforme de visualisation et d'exploration de données.
75,473 étoiles