Skip to content
No description or website provided.
PHP HTML Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
hooks Merge branch 'master' into voyager Jun 11, 2019
nbproject model + contorler Jun 24, 2019
public
resources
routes csv Jul 31, 2019
storage
tests
.editorconfig
.env.example
.gitattributes Initial Laravel app Jun 4, 2019
.gitignore
.styleci.yml Initial Laravel app Jun 4, 2019
README.md
_ide_helper.php add ide support Jun 15, 2019
artisan
composer.json Voyager installed Jun 7, 2019
composer.lock Update composer.lock Jul 18, 2019
package-lock.json Update package-lock.json Jul 19, 2019
package.json npm dependencies update Jul 19, 2019
phpunit.xml
server.php
simpleDB.sql SQL dump: latlon fix; db name fix Jul 18, 2019
webpack.mix.js basic template Jun 10, 2019
yarn.lock Initial Laravel app Jun 4, 2019

README.md

Instalacja

git clone https://github.com/gakowalski/pot-pzw-laravel
cd pot-pzw-laravel
sudo yum install composer
composer install
sudo yum install nodejs
npm install
cp .env.example .env
php artisan key:generate
vi .env

W zależności od tego, czy środowisko produkcyjne czy deweloperskie:

npm run production

lub

npm run dev

Voyager

Dodanie użytkownika administracjnego:

php artisan voyager:admin my_mail@my_domain.com --create

Gdy Voyager raportuje problem ze storage'm:

php artisan storage:link

Gdy brakuje domyślnego awatara w panelu administracyjnym Voyagera:

mkdir storage/app/public
mkdir storage/app/public/users
cp vendor/tcg/voyager/publishable/assets/images/captain-avatar.png storage/app/public/users/default.png

Konfiguracja Apache

Alias /polskazobaczwiecej.pl/ /var/www/html/pzw/public/
Alias /polskazobaczwiecej.pl /var/www/html/pzw/public/
<Directory /var/www/html/pzw/public/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
You can’t perform that action at this time.