Go to file
2017-12-28 17:35:50 -06:00
.travis archive was missing vendor folder 2017-12-17 12:18:11 -06:00
app Fix error if there are no points in the ACARS route 2017-12-28 16:09:49 -06:00
bootstrap Changes for shared hosting and numerous installer fixes 2017-12-17 16:58:53 -06:00
config Add cache option in repository layer 2017-12-27 10:44:41 -06:00
modules Add cache option in repository layer 2017-12-27 10:44:41 -06:00
public more js cleanup and consolidation with webpack; removed vendor dir #91 2017-12-28 17:29:00 -06:00
resources more js cleanup and consolidation with webpack; removed vendor dir #91 2017-12-28 17:29:00 -06:00
storage add PIREP pre-file and ACARS updates; removing caching from ACARS/Pirep/User repositories; adjust PirepState enum values; add additional columns 2017-12-25 15:19:34 -06:00
tests Fix error if there are no points in the ACARS route 2017-12-28 16:09:49 -06:00
.bowerrc reorganize some asset directories 2017-12-14 09:21:06 -06:00
.gitignore Rewrite rules and block installed if it's already installed 2017-12-17 11:29:11 -06:00
.htaccess cleanup htaccess 2017-12-23 10:29:43 -06:00
.travis.yml remove the --prefer-dist flag 2017-12-28 17:35:50 -06:00
artisan laravel base files 2017-06-08 13:28:26 -05:00
bower.json cleanup more JS vendors, moved to node_modules and compiled using webpack 2017-12-27 18:08:37 -06:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-12-09 08:52:43 -06:00
composer.json add PIREP pre-file and ACARS updates; removing caching from ACARS/Pirep/User repositories; adjust PirepState enum values; add additional columns 2017-12-25 15:19:34 -06:00
composer.lock add PIREP pre-file and ACARS updates; removing caching from ACARS/Pirep/User repositories; adjust PirepState enum values; add additional columns 2017-12-25 15:19:34 -06:00
composer.phar Include a copy of composer.phar 2017-12-13 20:22:54 -06:00
env.php.example Add cache option in repository layer 2017-12-27 10:44:41 -06:00
index.php Changes for shared hosting and numerous installer fixes 2017-12-17 16:58:53 -06:00
LICENSE Initial commit 2017-06-07 18:35:27 -05:00
Makefile cleanup more JS vendors, moved to node_modules and compiled using webpack 2017-12-27 18:08:37 -06:00
package-lock.json more js cleanup and consolidation with webpack; removed vendor dir #91 2017-12-28 17:29:00 -06:00
package.json more js cleanup and consolidation with webpack; removed vendor dir #91 2017-12-28 17:29:00 -06:00
phpunit.xml db cleanup/try phpunit with in-memory tests 2017-12-06 11:25:41 -06:00
Procfile procfile and makefile changes 2017-12-24 12:12:07 -06:00
README.md Updated instructions in README 2017-12-17 11:50:44 -06:00
webpack.mix.js more js cleanup and consolidation with webpack; removed vendor dir #91 2017-12-28 17:29:00 -06:00

phpvms 7

Build Status Codacy Badge Total Downloads Latest Stable Version Latest Unstable Version License

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

A full distribution, with all of the composer dependencies, is available at this tarball link. It's currently updated with every commit

Composer Access

run the following commands. for right now, we're running on sqlite. for mysql, set DB_CONNECTION to mysql in the env.php file.

cp env.php.example env.php
composer install --no-interaction
php artisan database:create
php artisan migrate:refresh --seed

then point your webserver to the /public folder.

development environment

For development, copy the included env.php.example to env.php file. By default, it uses sqlite instead of mysql. This makes it much easier to be able to clear the database and new fixtures.

The easiest way to load locally is to install Laravel Valet (if you're running a Mac). Once you install it, go to your phpvms directory, and run:

cp env.php.example env.php
php artisan key:generate
make install   # this will install everything
valet link phpvms

Now going to http://phpvms.dev should work. If you want to use mysql, follow the valet directions on installing mysql (brew install mysql) and then update the env.php file to point to the mysql.

The default username and password are "admin@phpvms.net" and "admin". To see the available users in the development environment, see this file

creating/resetting the environment

I use Makefiles to be able to quickly setup the environment.

# to do an initial setup of the composer deps and install the DB
make install

Then to reset the database/clear cache, use:

make reset

database seeding

There is a database/seeds/dev.yml which contains the initial seed data that can be used for testing. For production use, there is a prod.yml file. The make reset handles seeding the database with the data from the dev.yml.

updating

extract files and run the migrations:

php artisan migrate