/Limg

An image hosting service powered by Laravel

Primary LanguagePHP

Limg

An open source image hosting service powered by Laravel

Build Status Total Downloads Latest Stable Version License


Requirement

Installation

  • clone the repository: git clone https://git.latable.dev/Havens/Limg Limg
  • create a database
  • install: composer install --dev
  • create configuration env file .env refer to .env.example
  • generate a new application key php artisan key:generate
  • setup database tables: php artisan migrate:fresh --seed
  • create storage link php artisan storage:link
  • install node_module npm i && npm run dev

Setup Discord Login

  • go on https://discordapp.com/developers/applications
  • create new application
  • copy CLIENT ID & CLIENT SECRET
  • paste on .env (CLIENT ID => DISCORD_KEY & CLIENT SECRET => DISCORD_SECRET)
  • go on OAuth2 page and add redirect link : https://YourApp.Domain/login/discord/callback
  • add this redirect link in .env => DISCORD_REDIRECT_URI

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT