15
votes
How do I set up dev environment with buildkit?
As Kurund pointed out, the general instructions are at https://github.com/civicrm/civicrm-buildkit . Follow those instructions to download the all the tools.
There are a few details that may not be ...
5
votes
Accepted
Using buildkit on MAMP but hitting "Fatal error: Call to a member function getDriver() on null"
This may indicate that either:
The PHP runtime is missing the PDO or MySQL extensions. This may help: https://wiki.civicrm.org/confluence/display/CRMDOC/Setup+Command-Line+PHP (At time of writing, I'...
5
votes
Buildkit -- Warning: file_get_contents(http://localhost:7979/index.php): failed
Check that you've followed this instruction?
Note: Please add this line to the httpd.conf or apache2.conf:
Include /root/.amp/apache.d/*.conf
To do this, edit your Apache configuration (on Debian ...
5
votes
Accepted
Do I need to know Linux to administer CiviCRM?
The question is tricky because it's a bit imprecise -- different people may interpret "know Linux" and "administer CiviCRM" a bit differently.
It might be clearer to rephrase the issue this way:
To ...
4
votes
Display menu and pages of a newly created extension
Whenever you modify a menu xml file you must clear CiviCRM's menu cache.
Go to Administer > System Settings > Cleanup Caches & Update Paths and click the Cleanup Caches button.
4
votes
Do I need to know Linux to administer CiviCRM?
I would tend to say "No", it is not required. We have a bunch of customers that administer CiviCRM without Linux knowledge (or GNU, as Tomislav pointed out). However, they do pay for service providers ...
4
votes
Accepted
Problems with first test site using Civicrm buildkit
Accessing URL http://localhost:7979 requires at least these things:
Your client is able to resolve host localhost to the local IP address
You have a server which is listening to port 7979
Your server ...
4
votes
Accepted
How do I upgrade CiviCRM on a local site that I installed with buildkit civibuild?
tldr
cd buildkit/build/dmaster/sites/all/modules/civicrm
## Ensure that all your stuff is clean/committed.
git scan status
## Update git repos. Choose ONE of:
git scan up
./bin/givi checkout X.Y.Z
...
3
votes
Recent 'git' seems to be missing CRM/Event/DAO folder
A git clone of the CiviCRM source tree is not a complete CiviCRM codebase.
Some CiviCRM code is autogenerated, via a script named GenCode.php
See Github for CiviCRM for full instructions.
3
votes
Do I need to know Linux to administer CiviCRM?
@Joe
To kick off, you probably mean GNU more than Linux (it's the tools that you learn, not the kernel). That said, being a MySQL/PHP-based system, it's naturally geared towards GNU/Linux as the most ...
3
votes
How do I set up dev environment with buildkit?
Using MAMP should be fine. You might also have to install git. For detailed instructions on buildkit please check:
https://github.com/civicrm/civicrm-buildkit
https://buildkit-ui.civicrm.org/#/...
3
votes
Installing extensions with civicrm-buildkit
As a bit of background, it may help to check out "What's a build?" and "What are the basic build techniques?".
There are a few directions one can take on that topic:
Install an extension once, ...
3
votes
Accepted
Can distmaker be run off a specific branch
Check the settings in distmaker.conf, the ones at the end. They specify the git branch to pull from:
## Git branch/tag name
DM_REF_CORE=master
DM_REF_DRUPAL=7.x-${DM_REF_CORE}
DM_REF_DRUPAL6=6.x-${...
3
votes
Accepted
How do I rebuild the training demo sites?
The demo sites are built as a scheduled job in Jenkins. Authenticated users in Jenkins can start builds from the gui. Please contact the core team via email (totten or dave or coleman or kurund, at ...
3
votes
Accepted
Install CiviCRM without installing the database. And install the database without installing CiviCRM
From the excellent interactive documentation here -- https://buildkit.civicrm.org/#/tutorials (which is almost impossible to find unless you know where to look):
## Download application (with ...
3
votes
Buildkit - amp test fails - incorrect response received
The problem was PHP files weren't being processed. I reinstalled PHP module using the following commands and it worked.
sudo /etc/init.d/apache2 stop
sudo apt-get remove --purge apache2 php5
sudo apt-...
3
votes
Accepted
What's the quickest way to set up a developer environment on windows?
you also need bash, it MIGHT be doable with cygwin (https://www.cygwin.com/), but I think it would be a considerable amount of pain.
The least pain imo would be: install Virtualbox, install Ubuntu on ...
3
votes
Do I need to know Linux to administer CiviCRM?
No, you don't need to 'know linux'.
CiviCRM has been intentionally built so that all day to day use and administration of the system can be carried out via the user interface (i.e. the screens that ...
3
votes
Accepted
Buildkit Site fails to load due to PHP ugrade from 5 to 7
It's on your php.ini config file. where it it depends on your OS, in ubuntu/debian it's under /etc/php5 and you have cli and fpm, check that the cli version enables the extension simplexml
FYI, ...
3
votes
Buildkit Site fails to load due to PHP ugrade from 5 to 7
It seems to me you need to install the php-xml package.
sudo apt-get install php-xml should get you there on Ubuntu.
3
votes
Accepted
Is there a copy of phpunit 4 documentation somewhere?
https://phpunit.de/manual/4.8/en/index.html still exists even though it's not shown as an option in the menu anymore.
3
votes
Accepted
Re-install Buildkit on Ubuntu for Windows
If you've run amp, you should also delete the hidden folder $HOME/.amp. Leaving --full out of the install command will skip installing apps. Hoewver, There is no side effect to reinstalling the apps,...
3
votes
How to install civix and build an extension in drupal
Have a look at the Developer Guide here: https://docs.civicrm.org/dev/en/latest/ as a start.
If at all possible I would recommend trying to find an expert near you who would be able to give you a ...
3
votes
Accepted
Is it 'better' to use mysql_dsn rather than mysql_ram_disk with buildkit and amp config?
It's a little bit hard to answer without more info but generally the ram disk isn't going to save your data unless you do something extra, so it's more useful for one-off tests or something where you ...
2
votes
What's the quickest way to set up a developer environment on windows?
Start with WAMP:
http://www.wampserver.com/en/
Windows, Apache, mySQL, PHP
2
votes
Accepted
Running CiviCRM unit tests with an extension installed
Agree that the typical configuration is to have a separate, headless database for running tests.
Your problem sounds similar to (but slightly different from) the problem of running unit-tests ...
2
votes
How to modify/test Upgrade/Incremental/sql..sql script?
If you're targeting the 4.6 branch, then put the upgrade script in the latest 4.6.X.mysql.tpl. If you're targeting the master branch, then use 4.7.alpha1.mysql.tpl.
As a rule of thumb, we try to ...
2
votes
Building an extention in civicrm. i try fetch campaign base on contact nothing displays while i have records
I'd recommend looking into using the CiviCRM API as a more robust way to query CiviCRM data.
Using the CiviCRM API
Check out the API explorer
In your CiviCRM instance you can access the API Explorer....
2
votes
Is civicrm-buildkit safe to use in production?
Buildkit is not designed for production use but I can't think of any reason it can't be used that way. As your second question suggests, the upgrade procedure will indeed be different. Steps for ...
2
votes
Accepted
What's the optimal way to install and track CiviCRM with Drupal and git?
Drush can support VCS deployments and you can tell drush make to keep the .git directory with "drush make --working-copy your-platform.make". However, unless it's changed recently, drush doesn't have ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
civicrm-buildkit × 60developer × 11
drupal × 7
civibuild × 5
civix × 4
phpunit × 4
extension × 3
installation × 3
windows × 3
upgrade × 2
mysql × 2
php × 2
civicrm-home × 2
evaluating-civicrm × 2
drush × 2
testing × 2
unit-testing × 2
mamp × 2
wordpress × 1
contacts × 1
webform-civicrm × 1
activities × 1
permissions × 1
drupal-8 × 1
civicrm-entity × 1