markaspot / mark-a-spot
Mark-a-Spot is a Drupal distribution for crowdmapping and public civic issue tracking
Installs: 1 126
Dependents: 0
Suggesters: 0
Security: 0
Stars: 57
Watchers: 9
Forks: 30
Open Issues: 1
Language:TypeScript
Type:project
Requires
- composer/installers: ^1.2
- cweagans/composer-patches: ^1.7.0
- drupal/backup_migrate: ^5
- drupal/bpmn_io: ^1
- drupal/core: ^10
- drupal/core-composer-scaffold: ^10
- drupal/core-recommended: ^10
- drupal/csv_serialization: ^3
- drupal/devel: ^5
- drupal/eca: ^1
- drupal/eu_cookie_compliance: ^1.9
- drupal/gin: ^3
- drupal/gin_toolbar: ^1
- drupal/group: ^3
- drupal/group_action: ^1.1
- drupal/inline_entity_form: 1.x-dev@dev
- drupal/jquery_ui: ^1.6
- drupal/jquery_ui_draggable: ^1.2
- drupal/layout_library: ^1.0@beta
- drupal/mailsystem: ^4.4
- drupal/phpmailer_smtp: ^2.1
- drupal/s3fs: ^3.1
- drupal/views_data_export: ^1.0
- drupal/xls_serialization: ^1.2
- drush/drush: 11.5
- mapbox/mapbox-gl: 3.0.0
- maplibre/maplibre-gl: 3.6.2
- markaspot/markaspot: dev-10.6.x-dev
- vlucas/phpdotenv: ^2.4
- webflo/drupal-finder: ^1.0.0
- webmozart/assert: 1.11.0
- zaporylie/composer-drupal-optimizations: ^1.2.0
Requires (Dev)
- drupal/coder: ^8.3
- mglaman/phpstan-drupal: ^1.1
- palantirnet/drupal-rector: ^0.13.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.8
- phpstan/phpstan-deprecation-rules: ^1.0
- squizlabs/php_codesniffer: *
Conflicts
- dev-10.6.x-dev
- dev-8.5.x-dev
- 10.6.0-beta.4
- 10.6.0-beta.3
- 10.6.0-beta.2
- 10.6.0-beta.1
- 10.6.0-alpha.9
- 10.6.0-alpha.8
- 10.6.0-alpha.7
- 10.6.0-alpha.6
- 10.6.0-alpha5
- 10.6.0-alpha.4
- 10.6.0-alpha.3
- 10.6.0-alpha.2
- 10.6.0-alpha.1
- 8.5.0-beta1
- 8.4.2
- 8.4.1
- 8.3.4
- 8.3.3
- 8.3.2
- 8.3.1
- 8.3.0
- 8.3.0-rc2
- 8.3.0-rc1
- 8.3.0-alpha1
- 8.3.0-alpha
- dev-11.7.x-dev
- dev-main
- dev-dependabot/npm_and_yarn/web/themes/custom/mas_custom/postcss-8.4.31
This package is not auto-updated.
Last update: 2025-03-28 18:17:48 UTC
README
Mark-a-Spot is an open-source Civic Issue Tracking and Open311 Server built on Drupal CMS. This repository provides a Docker setup to facilitate running Mark-a-Spot.
Getting Started
These instructions will guide you through getting a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
- Docker
- Docker Compose
Installation
-
Clone this repository:
git clone https://github.com/markaspot/mark-a-spot.git cd mark-a-spot
-
Run the Docker containers:
docker-compose up -d
-
Run the
start.sh
script If it gives you an error of permission denied make it executable with:chmod a+x ./scripts/start.sh
)docker exec -it markaspot ./scripts/start.sh -y
The
start.sh
script has two options:-y
For automatic installation with predefined values (latitude: 40.73, longitude: -73.93, city: New York, locale: en_US)-t
To import translation file from the/translations
directory and enable translations for terms
Once the script has executed, the application should be accessible at http://localhost. Please exercise caution when executing the script, as it will drop the database and initialize Mark-a-Spot from scratch. Additionally, familiarize yourself with the Drupal development process, including configuring changes, backing up databases, and other relevant procedures.
Services
The Docker Compose setup includes the following services:
web
: The Nginx web servermarkaspot
: The Mark-a-Spot Drupal applicationdb
: The MariaDB databasephpmyadmin
: PHPMyAdmin for database management
Configuration
You can adjust the configuration of the Docker services by editing the docker-compose.yml
file. For example, you can modify the database username and password, the PHP memory limit, and other settings.
Usage
Access the Drupal application at http://localhost
.
PHPMyAdmin is available at http://localhost:8080
for database management.
Development
For local development, we recommend using Docksal, a Docker-based development environment.
Prerequisites
- Docksal
- Docker
- Docker Compose
Installation
-
Install Docksal on your machine, following the instructions on the Docksal website.
-
Clone this repository:
git clone https://github.com/markaspot/mark-a-spot.git cd mark-a-spot
-
Initialize the Docksal project:
fin up
-
Copy the local settings file to the web sites default directory and change your settings.php
cp web/sites/example.settings.local.php web/sites/default/settings.local.php
-
Swap drush version as long docksal/docksal#1783 is not solved:
fin bash echo -e "\n"'export PATH="${PROJECT_ROOT:-/var/www}/vendor/bin:$PATH"' >> $HOME/.profile; source $HOME/.profile
-
Run
scripts/start.sh
in docksal CLI (see above)
Configuration
You can adjust the configuration of the Docker services by editing the docksal.yml
file. For example, you can modify the database username and password, the PHP memory limit, and other settings.
Usage
You can access the Drupal application at http://mark-a-spot.docksal.site
.
License
Mark-a-Spot is freely available under the GNU General Public License, version 2 or any later version license.