This web application allows users to track visited national parks and other protected areas in Poland, using data sourced from the Web Feature Service from the General Directorate for Environmental Protection.
- Browse parks and other protected areas
- Track visited places
- Interact with a map and view information about places
- Share a link with your visited places
- Run importing jobs as administrator
- View statistical data
The project is being developed with Laravel Sail in the WSL2 Docker environment.
- Run setup script for Sail:
sh setup.sh
- Create Docker containers:
./vendor/bin/sail up -d
- Generate application key:
./vendor/bin/sail artisan key:generate
- Create storage link:
./vendor/bin/sail artisan storage:link
- Run migrations:
./vendor/bin/sail artisan migrate:fresh
- Install frontend dependencies:
./vendor/bin/sail npm install
- Run application:
./vendor/bin/sail npm run dev
To make it easier to run Sail commands, you can add an alias to your shell configuration file:
alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'
To make sure this is always available, you may add this to your shell configuration file in your home directory. For example, in ~/.bashrc
or ~/.zshrc
.
Laravel Telescope's vendor styles aren't included in the repository.
If you want to use Telescope for development, enable it in the environment and publish assets:
./vendor/bin/sail php artisan vendor:publish --tag=telescope-assets