added some installation instructions
This commit is contained in:
parent
4d7e038552
commit
4792e21044
16
.env.example
Normal file
16
.env.example
Normal file
@ -0,0 +1,16 @@
|
||||
APP_ENV=dev
|
||||
APP_KEY=base64:ve66Z5Kt/zTN3p++0zOPu854PHfZkwJE5VuoFAlzHtI=
|
||||
APP_DEBUG=true
|
||||
APP_LOG_LEVEL=debug
|
||||
APP_URL=http://localhost
|
||||
|
||||
DB_CONNECTION=local
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=
|
||||
DB_USERNAME=
|
||||
DB_PASSWORD=
|
||||
|
||||
CACHE_DRIVER=array
|
||||
SESSION_DRIVER=array
|
||||
QUEUE_DRIVER=sync
|
35
README.md
35
README.md
@ -6,6 +6,39 @@
|
||||
|
||||
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).
|
||||
|
||||
## license
|
||||
# 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
|
||||
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;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
see [this article](https://www.digitalocean.com/community/tutorials/how-to-install-laravel-with-an-nginx-web-server-on-ubuntu-14-04) for more detailed instructions.
|
||||
|
||||
(TODO: redis information, etc)
|
||||
|
||||
# license
|
||||
|
||||
phpVMS is open-sourced software licensed under the [The 3-Clause BSD License](https://opensource.org/licenses/BSD-3-Clause).
|
||||
|
Loading…
Reference in New Issue
Block a user