This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "wide", | |
"default_line_ending": "unix", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, | |
"fallback_encoding": "UTF-8", | |
"find_selected_text": true, | |
"font_options": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ignore emacs backup files... | |
*~ | |
# Ignore configuration files that may contain sensitive information. | |
sites/*/settings.php | |
# Ignore paths that contain user-generated content. | |
.sass-cache/* | |
sites/*/files | |
sites/*/private |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /var/www | |
drush dl drupal --drupal-project-rename=d7 | |
cd d7 | |
drush si -y --db-url=mysql://root:personofinterest@localhost/d7 | |
drush upwd admin --password="admin" | |
//Maybe you need this | |
cd sites/default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://chapterthree.com/blog/drupal-wysiwyg-best-practices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.drupal.org/node/1494290#comment-6882712 | |
How to update Drupal core with Drush | |
(Drush is a command line tool for Drupal). | |
1. Backup everything (all files, databases, etc) | |
2. Put your site in maintenance mode | |
Either from Drupal interface or with drush: | |
(commands for Drupal 7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source:- http://toodlepip.co.uk/2014/installing-mongo-mongo-php-mac-osx-mavericks-mamp/ | |
Step:- | |
1. brew install mongodb | |
2. brew install autoconf | |
3. curl -O http://museum.php.net/php5/php-5.5.3.tar.gz | |
4. cd /Applications/MAMP/bin/php/php5.5.3/ | |
5. mkdir include | |
6. cd include | |
7. mkdir php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#MongoDB | |
$conf['mongodb_connections'] = array( | |
'default' => array( // Connection name/alias | |
'host' => 'localhost', // Omit USER:PASS@ if Mongo isn't configured to use authentication. | |
'db' => 'YOURDATABASENAME' // Database name. Make something up, mongodb will automatically create the database. | |
), | |
); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ref:- https://www.ndchost.com/wiki/apache/redirect-http-to-https | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ref :- https://drupal.stackexchange.com/questions/95897/apache-solr-4-6-0-installation-and-compatibility-with-drupal7/124038#124038 | |
You aren't alone I had to scower the internet and read several articles before I truly understand all of this. I tried about three different methods until I finally got it right! | |
If you are using Debian/Ubuntu (with Tomcat7) it's even easier then most outline. I preferred this over Lullabot since when you install it through Ubuntu it's actually a service and less fiddling :) | |
Install Java | |
apt-get install java7-jdk | |
Install Tomcat |
OlderNewer