Assuming you have all the dependencies in place, as described in Requirements, you can now proceed to activate the BAT modules and get setup.
/admin/modules/ and activate the following modules:
- BAT - Booking and Availability Management Tools
- BAT Event
- BAT Event UI
- BAT Fullcalendar
- BAT Unit
- Booking and Availability Tools API
- Composer Manager (this needs to activated explicitly as it is not strictly a BAT dependency)
Once you confirm installation, Drupal will request all the dependencies to these modules. Provided that they are all already downloaded, you may simply continue. If something is missing, cancel the process, download the missing modules, and then continue.
Install BAT PHP Library¶
Provided that you are using Composer Manager, X Autoload, and have Composer, you should now have a composer.json file written in
/sites/default/files/composer. You can change this location and where the PHP Library will be downloaded by visiting
admin/config/system/composer-manager/settings and setting the Vendor Directory to a location of your choosing.
/sites/default/files/composer on the command line and run
composer install (this assumes that you have already setup Composer for your development environment - if not follow the information here)
Install FullCalendar Libraries¶
admin/config/development/jquery_update and ensure that the default jQuery version for your admin theme, as well as the site overall, is at least 1.10.
Once setup is completed you should see the following in
- Composer Manager
- Finally, in
admin/batyou should have:
We are now ready to get set up!