Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
/ foody Public archive

Self-Hosted Recipe management!

Notifications You must be signed in to change notification settings

1337hium/foody

Repository files navigation

About FoodY

Self-Hosted Recipe management! Im not a Webdev (as you can see in the code ;) ) but i love thinkering. So here we are, it "works", but it isn't professional. If you want to change it, go ahead an fork it :)

"Demo" https://foody2.3473.ch

Installing

  • Clone this Repo
  • Set the DocumentRoot in your VirtualHost to the public Directory
  • cp .env.example .env
  • change Database Credentials
  • Change APP_URL
  • composer install
  • sudo chown -R www-data:www-data foody
  • php artisan key:generate
  • If you Use MariaDB, add following to app/Providers/AppServiceProvider.php
<?php
use Illuminate\Support\Facades\Schema;

public function boot()
{
    Schema::defaultStringLength(191);
}
  • php artisan migrate
  • routes/web.php change Line 18 to 'Auth::routes(['register' => true]);'
  • got to https://your.app.url/register and register your user
  • change routes/web.php back to false
  • mkdir public/upload/tumb

Sample Apache Config

Thanks to clawer87

<IfModule mod_ssl.c>
<VirtualHost *:443>
    ServerName recipes.mydomain.com
    DocumentRoot /var/www/foody/public/

    <Directory /var/www/foody/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
    </Directory>

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/mydomain.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mydomain.com/privkey.pem
</VirtualHost>
</IfModule>

ToDo

  • Do we need the original pictures?
  • change "add" Layout
  • change filtering
  • clean routes
  • clean code
  • Multiuser?
  • add ingredients dynamically

About

Self-Hosted Recipe management!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published