Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcrumm/vagrant-rabbit-mongo-supervisor
Vagrant box for PHP apps with MongoDB, RabbitMQ and supervisord
https://github.com/mcrumm/vagrant-rabbit-mongo-supervisor
Last synced: 27 days ago
JSON representation
Vagrant box for PHP apps with MongoDB, RabbitMQ and supervisord
- Host: GitHub
- URL: https://github.com/mcrumm/vagrant-rabbit-mongo-supervisor
- Owner: mcrumm
- License: mit
- Created: 2013-10-01T05:10:56.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-06T20:05:53.000Z (almost 11 years ago)
- Last Synced: 2024-05-02T01:20:48.461Z (6 months ago)
- Language: Puppet
- Size: 211 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
vagrant-rabbit-mongo-supervisor
===============================Vagrant box for PHP apps with MongoDB, RabbitMQ and supervisord
## Installation
```bash
$ cd ~/vagrant
$ git clone --recursive https://github.com/mcrumm/vagrant-rabbit-mongo-supervisor mybox
$ cd mybox
$ cp Vagrantfile.example Vagrantfile
$ vagrant up
```## Updating
```bash
$ cd ~/vagrant/mybox
$ git pull
$ git submodule init
$ git submodule update
$ vagrant reload
```## Configuration
```bash
$ cd ~/vagrant/mybox
$ vagrant ssh
$ cd /var/www/mybox.dev/
$ composer install
```Enter all configuration values when prompted.
### Troubleshooting
On first boot, if none of your assets (css, js) load, run the following command inside your `mybox` folder:
```bash
$ vagrant ssh -c "sudo service supervisor restart"
```Run the following command to verify the background processes are now running:
```bash
$ vagrant ssh -e "ps aux | grep app/console"
```You should see output similar to the following:
```bash
$ vagrant ssh -c "ps aux | grep app/console"
root 21804 20.5 5.5 184756 28084 ? S 18:53 0:00 php app/console rabbitmq:consumer -m 20 my_consumer --env=dev
root 21805 72.5 9.1 203432 46516 ? R 18:53 0:01 php app/console assetic:dump --watch --env=dev
vagrant 21814 0.0 0.1 8040 908 ? S 18:53 0:00 grep app/console
```