app | ||
bootstrap | ||
config | ||
database | ||
public | ||
resources | ||
routes | ||
storage | ||
tests | ||
.editorconfig | ||
.env.example | ||
.env.travis | ||
.gitignore | ||
.travis.yml | ||
artisan | ||
composer.json | ||
composer.lock | ||
Dockerfile | ||
gulpfile.js | ||
LICENSE | ||
Makefile | ||
package-lock.json | ||
package.json | ||
phpunit.xml | ||
README.md | ||
server.php |
phpvms 4
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.
installation
run the following commands. for right now, we're running on sqlite. for mysql, set DB_CONNECTION
to mysql
in the .env
file, and skip the sqlite3
step below.
cp .env.example .env
composer install --no-interaction
php artisan optimize
sqlite3 database/testing.sqlite ""
php artisan migrate:refresh --seed
then point your webserver to the /public
folder. for example, in nginx:
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/laravel/public;
index index.php index.html index.htm;
server_name localhost;
location / {
try_files $uri $uri/ =404;
}
}
using laradock
laradock is probably the simplest way to get an env working, and is what I use. just follow the instructions and point APPLICATION=../phpvms
to your phpvms path.
see this article for more detailed instructions.
(TODO: redis information, etc)
updating
extract files and run the migrations:
php artisan migrate