{"id":19601510,"url":"https://github.com/stackstorm/st2vagrantdev","last_synced_at":"2025-04-27T17:32:00.009Z","repository":{"id":46135172,"uuid":"162538502","full_name":"StackStorm/st2vagrantdev","owner":"StackStorm","description":"Vagrant environment for people who work on / develop StackStorm. End users who want to deploy StackStorm on Vagrant see https://github.com/StackStorm/st2vagrant and https://docs.stackstorm.com/install/vagrant.html.","archived":false,"fork":false,"pushed_at":"2023-01-24T23:34:42.000Z","size":60,"stargazers_count":0,"open_issues_count":3,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2023-03-22T17:34:52.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StackStorm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-20T06:48:21.000Z","updated_at":"2023-03-22T17:34:52.783Z","dependencies_parsed_at":"2023-02-14T02:30:43.156Z","dependency_job_id":null,"html_url":"https://github.com/StackStorm/st2vagrantdev","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2vagrantdev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2vagrantdev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2vagrantdev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2vagrantdev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StackStorm","download_url":"https://codeload.github.com/StackStorm/st2vagrantdev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224076245,"owners_count":17251718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T09:18:43.554Z","updated_at":"2024-11-11T09:18:45.112Z","avatar_url":"https://github.com/StackStorm.png","language":"Shell","readme":"# Stackstorm Vagrant Dev Environment\n\n[![Build Status](https://github.com/StackStorm/st2vagrantdev/actions/workflows/ci.yaml/badge.svg)](https://github.com/StackStorm/st2vagrantdev/actions/workflows/ci.yaml)\n\nNOTE: This repository is for people working on (developing) StackStorm. End users and people who just want\nto quickly try out and test StackStorm using Vagrant should use https://github.com/StackStorm/st2vagrant.\n\nFor more information, please refer to https://docs.stackstorm.com/install/vagrant.html.\n\n## Getting Started\n\nTo quickly get bootstrapped run the following:\n\n1. Clone your StackStorm/st2 git repo fork which you will use to develop and test on to ../st2\n   (``git clone https://github.com/StackStorm/st2.git ../st2``)\n2. Clone this repo\n3. Execute `vagrant up` inside repo\n4. Execute `vagrant ssh` inside repo\n5. Execute `cd ~/st2` inside virtual machine\n6. Execute `make requirements` inside `~/st2`\n7. Execute `source virtualenv/bin/activate` inside `~/st2`\n8. Execute `make cli` inside `~/st2`\n9. Execute `./tools/launchdev.sh start -x` inside `~/st2`\n\nYou will likely from here want to share your local `st2` repo with the vagrant image to migrate code\nmore quickly. To sync your changes execute `vagrant rsync` from within this repo. `vagrant rsync` command\nassumes that the local `st2` repo is accessible as `../st2`. \n\nAs an alternative (per example in Vagrantfile), you can also use nfs mount where changes are\nautomatically reflected inside the virtual machine immediately after you make them on host.\n\nNote: Make sure to run step 5 (`make requirements`) inside `~/st2` to have the `PYTHONPATH` point to the modules inside `~/st2`.\n\n### Specifying Distro, Python and MongoDB version\n\nBy default, the image is provisioned using Python 3.6 and Mongo DB 4.0 on Ubuntu 18.04.\n\nIf you want to use a different distro, Python or MOngoDB version, you can do that by editing\ncorresponding variables in ``Vagrantfile`` before running ``vagrant up`` / ``vagrant provision``.\n\nFor example:\n\n```ruby\n...\n# For Ubuntu 18.04 (default)\nVM_BOX = \"ubuntu/bionic64\"\n# For Ubuntu 20.04\nVM_BOX = \"ubuntu/focal64\"\n\nPYTHON_VERSION = \"3.8\"\nMONGODB_VERSION = \"4.4\"\n...\n```\n\nKeep in mind that re-provisioning an existing VM with a different version of Python or MongoDB is\nnot supported.\n\nIf you want to change the version or develop on multiple different versions, you should just create\na new vagrant VM.\n\nIf you want to enable ansible debug logging for the provision step, you can do that by setting\n``ANSIBLE_DEBUG`` environment variable as shown below.\n\n```bash\nANSIBLE_DEBUG=1 vagrant provision\n```\n\n### Installed Versions of Software\n\nRight now the following versions of software are installed during provisioning:\n\n* Python 3.6\n* RabbitMQ 3.8\n* Erlang 24\n* MongoDB 4.0\n* Redis 6.0\n* Nginx 1.10\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2vagrantdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackstorm%2Fst2vagrantdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2vagrantdev/lists"}