-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding vagrant to make developer setup trivial #8
Conversation
great idea. |
I'm going to try and integrate this in with the OpenBazaar fork as well. Nice addition. https://github.com/hoffmabc/OpenBazaar |
Let me know if I can help. I was planning to create the Vagrantfile too and send you a pull request. When it is ready, do you mind if I post an announcement to http://www.reddit.com/r/Bitcoin/comments/23vo5s/petition_to_change_the_name_of_dark_market_to/? May help to end that debate, or encourage others to fork OpenBazaar as well. |
@johnalexhebert I am currently just cleaning up the code and looking around to determine how usable this is for putting a production quality build out there. I'm looking for more participation and discussion as well. If you want to send the Vagrant PR then I'd be glad to incorporate it. |
On Mon, Apr 28, 2014 at 4:55 AM, aha x@aharonic.net wrote: Thanks to some quick hacking by Jack Singleton, there is now a Vagrant VM Thanks for the quick hack! Am trying to make this work and run into a few errors: xxxx@xx ./run_dev.sh Traceback (most recent call last): NOTE: I did the xxxx@xx ./run_dev.sh Looking up the directory, vagrant was installed as: The only "vagrant" only named directories are under usr/share and Am running this under mint linux 15.. Also might be relevant, according to: |
Try 'vagrant up && vagrant ssh', then do 'cd /vagrant && ./run_dev.sh'. The text file Vagrantfile defines the darkmarket VM with the scripts and directories for both /vagrant and ~/darkmarket in it. |
Hey if you guys want to, it would be good to submit the PR over on the OpenBazaar repo as well because there probably won't be any new dev here for a while. |
Hi.. Per suggested am here and off the unsystem list.. (aharonic.net - a different nick here..).. So.. Yes.. I tried reinstalling and also downloading from jacksingleton/darkmarket.git - but no joy.. I keep hitting that strange message - /vagrant: No such file or directory Am I missing something? Do I need to copy and/or move some files manually? Are there some dependencies that might be missing? Cheers and thanks! |
Follow these steps as a test. Copy and paste the console output to a text file. We may need it to debug your issue.
On Mon, Apr 28, 2014 at 6:00 PM, aha notifications@github.com wrote:
|
Adding vagrant to make developer setup trivial
added you all as devs |
Hi, Thanks for the suggestion! Seems like vagrant up & vagrant ssh (both together and ssh command on its own, gives: The whole process is detailed bellow.. Seems like there is something to do with Vagrantfile:7:in Hope this helps somehow to fix this.. Cheers! process: ---- darkmarket directory --- ---- output after destroy --- aha@xxx ~/darkmarket $ vagrant destroy --- re cloning and rentring dark market directory ---- -------- loading vagrant ----- ------- vagrant ssh on its own ---- vagrant ssh ----- cd vagrant and dev.sh ---- cd /vagrant && ./run_dev.sh |
Cool, this helps a lot! Definitely a problem with vagrant. Let's tackle Confirm that any virtual machines are stopped. Run 'ps -ef | grep -i vbox' Let's start with a clean slate and remove Vagrant. Then follow the steps on John On Tue, Apr 29, 2014 at 2:54 AM, aha notifications@github.com wrote:
|
Hi, Pheeeuwww.. Failed a few times.. Seems like vagrant didn't let me name the box other than "base".. So, only after naming the box "base" I got the following out put that seems to indicate vagrant is cool and running.. What do I need to do next? Re install darkmarket? If so, any recommended version? (seeing as recently there have been a few mergers here..) Cheers and many thanks!! xxx aha@xxx ~ $ vagrant box add base http://files.vagrantup.com/precise32.box Guest Additions Version: 4.2.0
|
Dark Market developers are now pointed to On Wed, Apr 30, 2014 at 4:51 AM, aha notifications@github.com wrote:
|
hi, hummm... still no joy.. strange.. i get: aha@xxx ~/OpenBazaar $ cd /vagrant && ./run_dev.sh tried just the cd, and nothing changed: cheers and many thanks! |
Don't reply to this message. Instead go to On Wed, Apr 30, 2014 at 5:23 PM, aha notifications@github.com wrote:
|
Vagrant (http://www.vagrantup.com) allows us to automate the developer workstation setup, which should help lower the barrier to entry for potential contributors.
I've added a Vagrantfile, set up provisioning to automatically install all dependencies, and updated the README with comprehensive instructions to get the app running locally.