This repository was archived by the owner on Jan 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed error with Puppet's "each" function syntax in default.pp
Updated .gitignore with git repositories paths. Translated README to spanish.
- Loading branch information
Luis Montealegre
committed
Dec 27, 2013
1 parent
ba01ec0
commit ba3c77a
Showing
6 changed files
with
32 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/files/dot/.ssh | ||
/.vagrant/ | ||
/dbal-fixtures/ | ||
/echale-gas-api/ | ||
/echale-gas-app/ | ||
/restful-extensions/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,38 @@ | ||
# Échale Gas Virtual Machine | ||
# Máquina Virtual para Échale Gas | ||
|
||
Virtual Machine for Échale Gas project | ||
Máquina virtual para el proyecto [Échale Gas](http://echalegas.comunidadphppuebla.com/) | ||
creado durante el | ||
[Hackathón de Datos y Gobierno Abierto Puebla 2013](https://www.facebook.com/OpenDataPuebla). | ||
|
||
1.- Clone this repository and copy your Github SSH keys to the `files/dot` folder | ||
## Instalación | ||
|
||
1.- Clona este repositorio y copia tus llaves SSH de Github ala carpeta `files/dot` ya que | ||
los repositorios del proyecto se descargan automáticamente al instalar la máquina virtual. | ||
```bash | ||
$ git clone [email protected]:ComPHPPuebla/echale-gas-vm.git echalegas | ||
$ cd echalegas | ||
$ cp -R ~/.ssh files/dot | ||
$ cp -R ~/.ssh/ files/dot/ | ||
$ vagrant up | ||
``` | ||
|
||
2.- Add VM Apache virtual hosts to `/etc/hosts` file | ||
2.- Agrega los hosts virtuales de Apache en la máquina virtual al archivo `/etc/hosts` | ||
para que puedas acceder a ellos desde la máquina anfitrión. | ||
```bash | ||
192.168.56.101 echalegas.dev | ||
192.168.56.101 api.echalegas.dev | ||
192.168.56.101 echalegas.dev | ||
192.168.56.101 api.echalegas.dev | ||
``` | ||
|
||
3.- Access your VM via `http://api.echalegas.dev` | ||
3.- Estás list@ para usar la máquina virtual con: | ||
* `http://echalegas.dev` ó | ||
* `http://api.echalegas.dev` | ||
|
||
## Installed software | ||
## Software instalado | ||
|
||
* PHP 5.4 | ||
* XDebug | ||
* MySQL | ||
* SQLite | ||
* Composer | ||
* Vim | ||
* Git | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,11 @@ if [ ! -d /var/www/restful-extensions ]; then | |
sudo su -l vagrant -c 'cd /var/www && git clone [email protected]:ComPHPPuebla/restful-extensions.git' | ||
fi | ||
|
||
if [ ! -d /var/www/dbal-fixtures ]; then | ||
echo "Cloning dbal-fixtures repository" | ||
sudo su -l vagrant -c 'cd /var/www && git clone [email protected]:ComPHPPuebla/dbal-fixtures.git' | ||
fi | ||
|
||
if [ ! -d /var/www/echale-gas-api ]; then | ||
echo "Cloning echale-gas-api repository" | ||
sudo su -l vagrant -c 'cd /var/www && git clone [email protected]:ComPHPPuebla/echale-gas-api.git' | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ sed -i "/skip/s/^/#/" /etc/mysql/my.cnf | |
sed -i "/bind/s/^/#/" /etc/mysql/my.cnf | ||
|
||
service mysql restart | ||
|