4 ms·
I want to play with this, but ... ~/Dropbox/Documents/Go % bin/rev github.com/robfig/revel/samples/booking ~ ~ revel! http://robfig.github.com/revel ~
by st3fan 14y ago
I want to play with this, but ...
~/Dropbox/Documents/Go % bin/rev github.com/robfig/revel/samples/booking
~
~ revel! http://robfig.github.com/revel
~
~ unknown command "github.com/robfig/revel/samples/booking"
Run 'rev help' for usage.
~/Dropbox/Documents/Go % rev help
~
~ revel! http://robfig.github.com/revel
~
~ usage: rev command [arguments]
~
~ The commands are:
~
~ run run a Revel application
~ new create a skeleton Revel application
~
~ Use "rev help [command]" for more information.
It would be nice if the 'quick start' would just work.
First impressions you know ... :-)
- st3fan 14y agoAh the fix was simple: bin/rev run github.com/... But now it fails with an error that I don't really know how to fix as a Go noob ... Go Compilation Error (in /usr/local/Cellar/go/1.0.2/src/pkg/github.com/robfig/revel/samples/booking/app/controllers/db.go:6): import "github.com/mattn/go-sqlite3": cannot find package
- robfig 14y agoAh, this is because the app uses go-sqlite3, which you haven't gotten in your local repo yet. I need to fix the command line to download all dependencies first. You can fix it manually with: go get github.com/mattn/go-sqlite3 Also, I believe that the go command line figures out the dependencies for you, so this should get everything you need: go get github.com/robfig/revel/samples/booking
- robfig 14y agoApologies -- the right command is now: bin/rev run github.com/robfig/revel/samples/booking Changed in last two commits and I was a laggard in updating the site. Updating now, thanks.
- st3fan 14y agoTemplate Compilation Error (in errors/404.html:10): function "include" not defined Hey Rob, how about reposting this when things are in better shape? I've been waiting for a good excuse to play with Go and your web framework looks like something I could use for some real experiments, but it needs to be a little more finished first I think.
- robfig 14y agoAGREED! Will certainly repost when it gets a little further along.