social network for educational purposes only
Translation pending
SocialPHP · BladeGitHub @wi-wissenOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗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/
Many thanks and respect to:
Photos by pixabay (CC0)
Face images by unsplash.com (CC0)
Fake Ad images based on unsplash.com (CC0)
docker-compose exec mariadb bash
mysql -u root -p
# default: password
GRANT ALL PRIVILEGES ON *.* TO 'sail'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
instahub with encoding utf8_general_ciinstahub and grant all rights on instahub and for creating databasesgit clone git://github.com/wi-wissen/instahub.git.env.example file 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 run mv .env.example .env ).env
APP_ENV=production (In test Teacher 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)composer install or php composer.phar install (Howto install composer)
Optional: Just to be safe or if an error occur on bootup run php artisan config:clearstorage and the bootstrap/cache directories should be writable by your web serverphp artisan storage:linkphp artisan key:generatephp artisan migratephp artisan migrate --path=/database/migrations/create/userspublic directoryuser table of your database, manually set the attribute is_active to 1 and role to admin. 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.
php artisan migratephp artisan migrate:hubsThank you for considering contributing to the InstaHub! Create a pull request or contact me.
InstaHub used parts of Laragram from itsshady101