Shareaholic for Drupal Module
Note: This README is for the project while README.txt is the one that is packaged with the module.
Drupal Project Home
- Fork the official repository.
- Make your changes in a topic branch.
- Send a pull request.
This project assumes you have:
- Drupal 7.x
- PHP version 5.2.5 or higher
Please follow the installation instructions for Drupal 7.x at the Drupal site to get started
Once you have the server setup with Drupal, clone this repository to your local workspace:
git clone https://github.com/shareaholic/shareaholic_for_drupal.git git checkout master
All modules in a Drupal site are located in:
If you have this repository cloned into your local workspace, you can create a symbolic link for this repository to the Drupal modules location:
ln -s /path/to/your/local/workspace/shareaholic_for_drupal/ /path/to/drupal/sites/all/modules/shareaholic_for_drupal
If you do not prefer this method, you can move this repository over to the Drupal modules path or use some other method. Otherwise, Drupal will not recognize the module.
Then go to your Drupal site signed in as admin, go to Modules and enable the Shareaholic for Drupal module. You should not receive errors and be all set to use/develop the module
There are a couple of testing frameworks that can be used with Drupal module development but for now we will simply use the built in testing module provided by Drupal core.
You would simply need to enable the module by going to "Modules" and looking for "Testing" module under Drupal core. If you get a memory limit error, increase your memory limit in your php.ini file and restart the server (128MB is the preferred setting)
To run the tests, enable the Shareaholic for Drupal module, go to Configuration->Development->Testing and run some or all the tests for Shareaholic for Drupal
Deploying to Drupal.org
Please refer to the Shareaholic Developer Wiki for deployment instructions
shareaholic_for_drupal is owned and maintained by Shareaholic, Inc. The names and logos for Shareaholic are trademarks of Shareaholic, Inc.
Thank you to all the contributors!
shareaholic_for_drupal is Copyright © 2014 Shareaholic Inc. It is free software, and may be redistributed under the terms specified in the LICENSE