Manage pantry, edit meals of the week and organize your week's shopping list
First step, install PHP dependencies with composer and Node packages with NPM
composer install
npm install
Next step, you should configure the .env
file. To start,
you should just copy .env.example to .env
When you run the application on your host (without docker)
thats the point where you need to configure the correct
env variables for your local database.
If you have Trello account and you want to add the Trello export functionality, please, use configuration panel to define Trello credentials
Sample data are pre-installed, to install database and this datas, execute the command :
php artisan migrate:refresh --seed
In two separate terminal, launch the commands below :
php artisan serve
and
npm run-script watch-poll
Open up browser and start the app calling http://localhost:8000
git clone https://github.com/nbrabant/rpi-inventory
docker-compose up -d --build
make install
(optional step for Windows DEV's when running in WSL)
setup storage permissions
sudo chmod 777 -R storage/
make generate_key
make db-refresh
make run-npm
If you want to use xdebug for debugging you have to start it with (running on port 9003):
make xdebug-auto
There are also some other xdebug configs you can use:
xdebug-on
(start_with_request false)xdebug-profile
(for profiling: profiling result will be saved at storage/logs)xdebug-auto
(start_with_request true)xdebug-off
(to deactivate xdebug)If you want to see the differences of those config, check them out. You can find them in docker/php/xdebug
Depending on your IDE you need so setup some smaller things.