The NMS Prime setup is done in: https://github.com/schmto/nmsprime/blob/dev/Install/after_install.sh
This stuff is deprecated – we just keep it here for backwards compatibility. It is automatically done during install.
Code Block | ||
---|---|---|
| ||
# 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/ |
...