Skip to content

How to embed your chapter in the final book #2

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

Open
1 of 7 tasks
rogierslag opened this issue Apr 17, 2015 · 11 comments
Open
1 of 7 tasks

How to embed your chapter in the final book #2

rogierslag opened this issue Apr 17, 2015 · 11 comments

Comments

@rogierslag
Copy link
Contributor

Hi @delftswa2014/students2015 ! (really hope this cross organization tagging works)

Here (finally) is how we are going to do the book preparation:

  • I will create a skeleton
  • You can fork this repository, and add your chapter (see the example on how to). This repo includes a Vagrant VM to run Jekyll, following the instructions you can test locally whether everything works
    • You will need to check your links/images yourself, you may use the test_links.rb script in the repo for this
    • Only link to open content (so nothing from your own team repository)
  • File a pull request
  • I will review
  • And possibly merge, or otherwise give feedback

So you are free to do a copy/paste, or you can play around to retain your history (pick yourself).

Good luck and looking forward to the contributions!

Btw: site is http://delftswa.github.io. Be sure to report the site to your project as well (generally they really like it!)

@avandeursen
Copy link
Member

Also, don't forget to provide a descriptive title and the author names (see #7).

@rogierslag
Copy link
Contributor Author

First chapter is in! http://delftswa.github.io/chapters/angulardart/index.html

congratz for team-angular.dart!

@avandeursen
Copy link
Member

Great work!!

@RickWieman
Copy link
Contributor

As a sidenote: the Vagrantfile requests a ubuntu/trusty64 box, that doesn't support my VMware provider 😢 (it only supports the default Virtualbox provider)

@rogierslag
Copy link
Contributor Author

Since Virtualbox is free and VMWare isnt I decided to go for the first, and not bother with the others (it doesnt works with Parallels either 😉)

@RickWieman
Copy link
Contributor

I can imagine. I replaced the box with the hashicorp/precise64, which runs on VMware. Jekyll works perfectly, but apparently the Ruby version in Ubuntu 12 is too old for your test_links.rb 😞

@rogierslag
Copy link
Contributor Author

What if you ditch the current box and replace it with the following lines?

  config.vm.box     = "trusty64"
  config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"

@RickWieman
Copy link
Contributor

Too bad... It first downloads the box, and then fails:

$ vagrant up
Bringing machine 'default' up with 'vmware_workstation' provider...
==> default: Box 'trusty64' could not be found. Attempting to find and install...
    default: Box Provider: vmware_desktop, vmware_fusion, vmware_workstation
    default: Box Version: >= 0
==> default: Adding box 'trusty64' (v0) for provider: vmware_desktop, vmware_fusion, vmware_workstation
    default: Downloading: https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box
    default: Progress: 100% (Rate: 2040k/s, Estimated time remaining: --:--:--)
The box you attempted to add doesn't match the provider you specified.

Provider expected: vmware_desktop, vmware_fusion, vmware_workstation
Provider of box: virtualbox

@rogierslag
Copy link
Contributor Author

Hmm I haven't used Vagrant with VMWare. I think it might be easier to just install Virtualbox or run the provision.sh script locally. Or use rvm on your VMWare vagrant box to install a newer ruby version (1.9.3 should already do the trick)

@RickWieman
Copy link
Contributor

You should be glad; these issues make Vagrant a bit of a hassle... (Ironically, as Vagrant should make it easier to setup your development environment 😆)

I switched to VMware because Virtualbox had some connectivity issues (when losing WiFi, all VMs permanently lost external connectivity, until they were all rebooted after a restart of Virtualbox itself). However, from a Vagrant perspective you can better use Virtualbox instead of paying twice (once for VMware, once for the Vagrant license for VMware (and if you have Workstation and Fusion, you should pay Vagrant one more time, as the licenses for Workstation and Fusion differ))...

There does seem to be a Ubuntu 14 box with broader support here, which I'll test later this weekend.

@RickWieman
Copy link
Contributor

I give up, that box doesn't work for me either (HGFS problems) 🙈

Running Jekyll with hashicorp/precise64 works just fine, and I decided to check the links with Ruby on Mac OS 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants