Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

# install composer (dependency manager)
# NOTE: depraceated .. could / will be installed via yum
#curl -sS https://getcomposer.org/installer | php
#mv composer.phar /usr/local/bin/composer

# clone project 
git clone https://github.com/schmto/nmsprime.git /var/www/nmsprime

cd /var/www/nmsprime

# create/edit the .env file (you can take the example file as starting point)
cp .env.example .env
chmod 640 .env
chgrp apache .env
vim .env

# install packages (this will need .env file with properly configured DB_* fields)
composer install

# access rights
chown -R apache storage/ bootstrap/cache/

# create application key
php artisan key:generate

# enable/disable modules for your needs
php artisan module:list
php artisan module:[enable|disable] <MODULE>
php artisan module:publish

# create the database tables (using migrations)
php artisan migrate
php artisan module:migrate

# cronjob
#cp /var/www/nmsprime/Install/files/cron-nmsprime /etc/cron.d/

Note: all hosts that run with local settings are defined in /bootstrap/start.php

edit app/config/database.php or app/config/local/database.php with the msql connection properties

use /.env.php (on production server) for global and /.env.local.php to describe local settings – edit files to your needs

Clone from Roetzer Engineering Repo

# Historical Stuff: Clone from Roetzer Engineering Repo
# Note: 1. Server must have access to atlassian repo server # 2. change username
git config --global http.sslVerify false
git clone https://<user>@devel.roetzer-engineering.com:3128/stash/scm/pro/laravel.git /var/www/lara

 

 

  • No labels