the personal food nutrition journal
Go to file
Christopher C. Wells ffba473855 Add Agolia credit to recipe edit page as well 2021-04-05 22:38:03 -07:00
.github Update CI config 2021-04-05 16:30:27 -07:00
app Use `config` instead of `env` for Scout driver checks 2021-04-05 22:29:53 -07:00
bootstrap Initial commit -- Laravel base app 2020-12-21 09:46:31 -08:00
config Add Goals API endpoint 2021-04-02 23:42:27 -07:00
database Sync user seeding and README 2021-04-05 16:29:25 -07:00
elastic/migrations Use babenkoivan Elasticsearch ecosystem 2021-03-04 22:17:33 -08:00
public Add Algolia search credit when in use 2021-04-05 22:27:44 -07:00
resources Add Agolia credit to recipe edit page as well 2021-04-05 22:38:03 -07:00
routes Remove breeze boilerplate verification and registration code 2021-04-05 05:41:34 -07:00
storage Add `.gitignore` to `storage/media-library` 2021-03-13 14:43:09 -08:00
tests Add missing user authentication tests 2021-04-05 05:41:53 -07:00
.editorconfig Initial commit -- Laravel base app 2020-12-21 09:46:31 -08:00
.env.ci.example Update CI config 2021-04-05 16:30:27 -07:00
.env.local.example Add detailed Redis config options to env examples 2021-04-05 22:03:11 -07:00
.env.prod.example Add detailed Redis config options to env examples 2021-04-05 22:03:11 -07:00
.gitattributes Initial commit -- Laravel base app 2020-12-21 09:46:31 -08:00
.gitignore Add coverage/coverall base support 2021-04-02 23:42:27 -07:00
.phpstorm.meta.php Add optional Algolia support 2021-04-05 21:51:44 -07:00
.styleci.yml Initial commit -- Laravel base app 2020-12-21 09:46:31 -08:00
ATTRIBUTIONS.md Remove icon nav elements 2021-03-27 21:01:34 -07:00
LICENSE Add LICENSE file 2021-01-03 14:30:18 -08:00
Procfile Add Heroku Procfile 2021-04-05 19:59:52 -07:00
README.md Add Agolia credit to recipe edit page as well 2021-04-05 22:38:03 -07:00
_ide_helper.php Add optional Algolia support 2021-04-05 21:51:44 -07:00
artisan Initial commit -- Laravel base app 2020-12-21 09:46:31 -08:00
composer.json Add optional Algolia support 2021-04-05 21:51:44 -07:00
composer.lock Add optional Algolia support 2021-04-05 21:51:44 -07:00
docker-compose.yml Add configurations and documentation for Laravel Sail 2021-04-05 16:21:10 -07:00
package-lock.json Update to PostCSS 8 2021-04-02 23:54:12 -07:00
package.json Update to PostCSS 8 2021-04-02 23:54:12 -07:00
phpstan.neon.dist Add phpstan support 2021-01-24 19:43:59 -08:00
phpunit.xml Enable parallel testing in CI 2021-04-02 23:42:27 -07:00
server.php Initial commit -- Laravel base app 2020-12-21 09:46:31 -08:00
tailwind.config.js Add frontend support for Quill JSON strings 2021-03-08 08:40:36 -08:00
webpack.mix.js Add Quill editor for recipe description 2021-03-08 08:40:36 -08:00

README.md

kcal the personal food nutrition journal

CI Status Coverage Status

Development

Laravel Sail

Prerequisites

  1. Clone the repository.

     git clone https://github.com/kcal-app/kcal.git
    
  2. Move in to the cloned folder.

     cd kcal
    
  3. Install development dependencies.

     composer install
    
  4. Create a local .env file.

     cp .env.local.example .env
    

    Note: the default APP_URL setting is http://127.0.0.1. If you have dnsmasq or something similar configured for the test domain you can change this to http://kcal.test.

  5. Generate an app key.

     touch .env
     php artisan key:generate
    
  6. Run it!

     vendor/bin/sail up -d
    
  7. (On first run) Run migrations.

     vendor/bin/sail artisan migrate
     vendor/bin/sail artisan elastic:migrate
    
  8. (On first run) Create the initial user.

     vendor/bin/sail artisan db:seed --class UserSeeder
    

    The default username and password is admin@kcal.test.

Once the application finishes starting, navigate to http://127.0.0.1:8080 (or http://kcal.test:8080 if configured).