Skip to content

MemCachier + Laravel tutorial using LEMP stack on DigitalOcean

Notifications You must be signed in to change notification settings

memcachier/examples-laravel-lemp-do

Repository files navigation

MemCachier and Laravel example (DigitalOcean using one-click LEMP stack)

This is an example Laravel 5.8 task list app that uses a MemCachier cache. It is configured for deployment on DigitalOcean using DigitalOcean's one-click LEMP stack.

Detailed instructions for developing this app are available here.

Running Locally

Run the following commands to get started running this app locally:

$ git clone https://github.com/memcachier/examples-laravel-lemp-do.git
$ cd examples-laravel-lemp-do
$ composer install
$ touch database/database.sqlite
$ php artisan migrate --force
$ echo "APP_KEY=`php artisan key:generate --show`" > .env
$ memcached &  # run a local memcached server instance
$ php artisan serve

Then visit http://localhost:8000 to play with the app.

Note: instead of running a local memcached server you can also create a MemCachier cache and add the MEMCACHIER_* environment variables to .env.

About

MemCachier + Laravel tutorial using LEMP stack on DigitalOcean

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published