Skip to content
Snippets Groups Projects
Commit e69e2ba6 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

vaaagrant

parent add4c08c
No related branches found
No related tags found
No related merge requests found
Pipeline #714 failed with stages
in 2 minutes and 20 seconds
# czr_pythons
Cassandra, ZooKeeper, RabbitMQ and assorted Pythons
It's [cass_zk_rmq](/cass_zk_rmq) but with extra:
* build-essentials
* git
* Python 2.7
* cassandra, kazoo and CoolAMQP
* common utility and testing libraries
---
Usage in Vagrantfile:
```
config.vm.box = "henrietta/czr_pythons"
config.vm.box_url = "http://dev.dms-serwis.com.pl/vagrant/czr_pythons.box"
```
#!/usr/bin/env bash
apt-get install -y python python-pip python-dev python-setuptools build-essential git libffi-dev libyaml-dev libev4 libev-dev
pip install --upgrade pip==1.5.6
pip install --upgrade setuptools==5.5.1
# Install RabbitMQ
$(wynurz java &&
wynurz cassandra &&
wynurz rabbitmq &&
wynurz zookeeper) &
pip install cassandra-driver kazoo CoolAMQP requests futures six monotonic nose mock
# example
This is description of the box. It will be copied. Keep it short and single-line. Don't remove the line break before.
Version: 1.0
Write what this box consists of and how it behaves.
First four lines have a special meaning - dont move them around. Change only version number, not the word.
---
This section will be automatically replaced by `python make.py` with auto-generated
content of Vagrantfile that will refer to this box.
#!/bin/bash
# This will be executed during build process as root
# You can delete it if you want to.
# cd into a directory if you depend on a particular working directory.
#!/bin/bash
# This will be executed during build process as user Vagrant
# You can delete it if you want to.
# cd into a directory if you depend on a particular working directory.
# nodejs4
NodeJS 4 + bower + gulp
* NodeJS 4.x
* bower
* gulp
* git
* build-essential
* curl
---
Usage in Vagrantfile:
```
config.vm.box = "henrietta/nodejs4"
config.vm.box_url = "http://dev.dms-serwis.com.pl/vagrant/nodejs4.box"
```
#!/usr/bin/env bash
wynurz node4
npm cache clean
npm install -g --unsafe-perm bower gulp
...@@ -9,5 +9,5 @@ if [ -e "/vagrant/build.sh" ]; then ...@@ -9,5 +9,5 @@ if [ -e "/vagrant/build.sh" ]; then
fi fi
if [ -e "/vagrant/build_as_vagrant.sh" ]; then if [ -e "/vagrant/build_as_vagrant.sh" ]; then
bash /vagrant/build_as_vagrant.sh su - vagrant -c "bash /vagrant/build_as_vagrant.sh"
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment