Skip to content
Snippets Groups Projects
Commit 25213380 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Laravel Framework initialisieren: ( Falls nocht nicht passiert )

    composer update
    schreibrechte für www-data auf "storage", "bootstrap/cache"
    .env Datei erstellen ( Aktuell vorerst kopieren der .env-example nach .env )
    App-Key generieren ( falls noch nicht geschehen )
parent 9ae03585
No related branches found
No related tags found
No related merge requests found
update: update:
before_script: before_script:
# Abhängigkeiten überprüfen
- which virtualbox - which virtualbox
- which vagrant - which vagrant
- which composer - which composer
- which git - which git
- which php - which php
# Pfad zum neu geklonten Repo
- path=`pwd` - path=`pwd`
- cd ~/ - cd ~/
# Klone das Repo neu, falls es noch nicht existiert
- if [ ! -d ~/MetaGer ] ; then git clone "$path" ; fi - if [ ! -d ~/MetaGer ] ; then git clone "$path" ; fi
# Falls notwendig Laravel-Framework initialisieren:
- cd MetaGer
- composer update
- chmod -R 777 storage/ bootstrap/cache/
- if [ ! -f .env ] ; then cp .env.example .env ; fi
- if [ $(grep "SomeRandomString" .env) ] ; then php artisan key:generate ; fi
script: script:
- cd ~/MetaGer - cd ~/MetaGer
- git pull "$path" - git pull "$path"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment