helsingborg-stad / api-volunteer-manager
Creates a api that may be used to manage volunteer assignments
Package info
github.com/helsingborg-stad/api-volunteer-manager
Type:wordpress-plugin
pkg:composer/helsingborg-stad/api-volunteer-manager
Requires
- firebase/php-jwt: ^7.0
- helsingborg-stad/acf-export-manager: >=1.0.0
Requires (Dev)
- brain/monkey: ^2.6
- codedungeon/phpunit-result-printer: ^0.32.0
- mockery/mockery: 1.6.12
- phpunit/phpunit: ^9.6
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Volunteer Manager
Creates a api that may be used to manage volunteer assignments
Report Bug
ยท
Request Feature
Table of Contents
- Table of Contents
- [About Volunteer Manager](#about-Volunteer Manager)
- Getting Started
- Usage
- Deploy
- Roadmap
- Contributing
- License
- Acknowledgements
About Volunteer Manager
Here's a blank template to get started:
Built With
- PHP
- NPM
- Webpack
- Modularity
Getting Started
To get a local copy up and running follow these simple steps.
Prerequisites
This is an example of how to list things you need to use the software and how to install them (mac os).
- composer
brew install composer
- npm
brew install node
Installation
- Clone the repo
git clone https://github.com/helsingborg-stad/api-volunteer-manager.git
- Install and build NPM packages
npm install && npm run build
- Install composer packages
composer install
Usage
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
For more examples, please refer to the Documentation
Deploy
Pushes to master and manual runs of the Publish Composer release workflow
create versioned releases. The workflow determines a semantic version from the
Git history, updates the package and plugin versions, builds and tests the
plugin, and publishes api-volunteer-manager-<version>.zip on the corresponding
GitHub release. Automated version commits do not trigger another release.
Runs stop if master advances or an existing tag or asset conflicts; fix the
underlying problem before retrying. Existing releases are not repackaged.
The ZIP is for Composer installations, not direct WordPress uploads. It contains
the compiled assets but no vendor/ directory. Install with Composer 2.1 or
newer and load the consuming project's Composer autoloader before WordPress
loads the plugin. Composer installs its PHP dependencies separately. A local
source checkout can instead use its own vendor/autoload.php after
composer install. --prefer-source uses the Git checkout and its tracked
assets rather than the release ZIP.
Packagist may index a tag before its release asset is published. After a release,
verify the metadata with bash scripts/check_packagist_release.sh <version>,
then install that version in a clean Composer project using --prefer-dist
and verify that the release ZIP was downloaded. If metadata has not propagated,
retry the check later. The local archive smoke test alone does not verify
Packagist.
Development environment
Devcontainer can be used for development.
- To start the development environment, open the project in Visual Studio Code and then select "Reopen in Container" from the quick actions menu.
- When the container is started, run the following commands to install the necessary dependencies:
php build.php. - Then run
composer install. - You should then be able to access the project in your browser. You will find the exposed port in the ports section Visual Studio Code.
- When accessing the project in the browser, you will need to go through the WordPress installation process.
- Install required plugin
Advanced Custom Fields PRO. - Activate the plugin
Volunteer Manager.
Constants
Google Maps API
Google Maps API key with Maps JavaScript API enabled.
define('GOOGLE_API_KEY', 'xyz');
Roadmap
See the open issues for a list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License.
