Skip to content

rom3r4/agronet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###agronet

Agronet's Drupal Installation Profile

###Demo Prototype

A current live snapshot can be seen on on this link

###Requirements

  • xamp(*) (Debian GNU/Linux preferred)
  • Git
  • Drush `>= version 6.x``

(*) x=(Windows/Linux/Mac OS)-(Apache/Nginx)-MySQL-PHP

###Installation

(Tested to work on Debian 7 wheezy)

- Create your database:
$ sudo mysqladmin -uroot -p create __YOUR_DATABASE_NAME__
 
$ cd /tmp
$ git clone https://github.com/julianromera/agronet.git 

$ cd /tmp/agronet
$ ./make-agronet.sh 

- Suppose you plan to install Agronet in /www/__YOUR_SITE_NAME__

$ mkdir -p /www/__YOUR_SITE_NAME__ 
$ cp -R /tmp/agronet/tmp/__YOUR_SITE_NAME__ /www 


- Copy scripts to destination directory

$ cd /tmp/agronet
$ copy *.sh /www/__YOUR_SITE_NAME__
$ copy *.ini /www/__YOUR_SITE_NAME__

- Auto-install site

$ cd /www/__YOUR_SITE_NAME__ 
$ sudo drush site-install commons --account-name=admin --account-pass=admin
--db-url=mysql:/__MYSQLUSER__:__MYSQLPASSWORD__@localhost/__YOUR_DATABASE_NAME__

- Install database

$ wget https://github.com/julianromera/agronet-database/raw/master/agronet-db.sql.tar
$ tar -xzvf agronet-db.sql.tar

$ cd /www/__YOUR_SITE_NAME__
$ ./conf-agronet.sh /www/agronet ./agronet-db.sql 

- Check that /www/__YOUR_SITE_NAME__/sites/default/settings.php contains the same database 
  credentials that you created: database name, user and password

$ cd /www/__YOUR_SITE_NAME__
$ ./postinstall /www/__YOUR_SITE_NAME__

- Install module upgrades:

a. Using Drush:

$ cd /www/__YOUR_SITE_NAME__ 
$ drush cc all
$ drush updb

b. Or manually:

Point your browser to: http://__YOR_SITE_URL__/update.php

###Resources

###Troubleshooting

TroubleShooting Wiki

###Author

University of Alcala

###License

Licensed under GPL/ GNU version 2 License. For more information, see the accompanying LICENSE file.

About

Agronet's Drupal Installation Profile -- Main App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages