From 65bd6888e82cdbee59abd7c7a885d96a2ec2c395 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 11 May 2019 09:20:05 -0500 Subject: [PATCH] Only mount storage folder --- README.md | 25 ++++++++++++++++++++----- docker-compose.yml | 2 +- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fbc9d536..f8a56265 100755 --- a/README.md +++ b/README.md @@ -2,16 +2,15 @@ [![Build Status](https://travis-ci.org/nabeelio/phpvms.svg)](https://travis-ci.org/nabeelio/phpvms) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d668bebb0a3c46bda381af16ce3d9450)](https://www.codacy.com/app/nabeelio/phpvms?utm_source=github.com&utm_medium=referral&utm_content=nabeelio/phpvms&utm_campaign=Badge_Grade) [![Latest Stable Version](https://poser.pugx.org/nabeel/phpvms/v/stable)](https://packagist.org/packages/nabeel/phpvms) ![StyleCI](https://github.styleci.io/repos/93688482/shield?branch=dev) [![License](https://poser.pugx.org/nabeel/phpvms/license)](https://packagist.org/packages/nabeel/phpvms) -The next phpvms version built on the laravel framework. work in progress. If you're looking for -the old, phpVMS classic, it's [available here](https://github.com/nabeelio/phpvms_v2). +The next phpvms version built on the laravel framework. work in progress. The latest documentation, with installation instructions is available + [on the phpVMS documentation](http://docs.phpvms.net/) page. # installation A full distribution, with all of the composer dependencies, is available at this [GitHub Releases](https://github.com/nabeelio/phpvms/releases) link. -The latest documentation, with installation instructions is available -[on the phpVMS documentation](http://docs.phpvms.net/) page. + ## Requirements @@ -30,6 +29,22 @@ The latest documentation, with installation instructions is available ## Installer 1. Upload to your server -2. Visit the site, and follow the link to the installer +1. Visit the site, and follow the link to the installer [View installation details](http://docs.phpvms.net/setup/installation) + +# development environment + +A full development environment can be brought up using Docker: + +```bash +composer install +npm install +docker-compose up +``` + +Then go to `http://localhost`. If you're using dnsmasq, the `app` container is listening on `phpvms.test`, or you can add to your `/etc/hosts` file: + +``` +127.0.0.1 phpvms.test +``` diff --git a/docker-compose.yml b/docker-compose.yml index 439cbb4c..b2ed1ea8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,6 +43,6 @@ services: command: tail -f -F -n 0 /var/www/storage/logs/laravel.log restart: always volumes: - - ./:/var/www + - ./storage:/var/www/storage depends_on: - app