Skip to content

Відкрита мапа Дніпра та області (Open map of the Dnipro city and the region)

License

Notifications You must be signed in to change notification settings

dmitry-udod/dnipro-map

Repository files navigation

Build Status Buildkite Build Status

Description

This system show city events and facilities on the Google map. City admin (multi city support) can easily create markers on the map through admin panel or import them from CSV file.

Requirements

  • PHP >= 7.1
  • PostgreSQL >= 9.5
  • Node >= 6.11.2
  • NPM >= 3.10.10

Install

$ git clone https://github.com/dmitry-udod/dnipro-map.git
$ composer install
$ php artisan migrate
$ npm install
$ npm run production

Post Install Setup

Copy config file

$ php -r "file_exists('.env') || copy('.env.example', '.env');"

Edit .env file and check next section

  • Change app name (it will be showing in admin panel)
  • Setup your data base connection
  • Setup you mail driver (need to sending alert message to users and admins)
  • Set next config fields:
    • DOMAIN_NAME - specify your root domain (required)
    • GOOGLE_API_KEY - Google maps api key. The map will not working without this key (required)
    • GOOGLE_TAG_MANAGER_HTML - If you have GTM code for your analytics data you can place your GTM code here
    • CONTACTS_EMAIL - this email address will be show on contacts page.

After that you can run

$ php artisan serv

And check http://localhost:8000 for testing

Run seeds (not required)

$ php artisan db:seed --class=CityTableSeeder
$ php artisan db:seed --class=MarganetsClinics
$ php artisan db:seed --class=MarganetsCivilBudget
$ php artisan db:seed --class=MarganetsAfterSchool
$ php artisan db:seed --class=MarganetsTempConstructions
$ php artisan db:seed --class=MarganetsKindergardens
$ php artisan db:seed --class=MarganetsTempConstructions

About

Відкрита мапа Дніпра та області (Open map of the Dnipro city and the region)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published