Closed evolve2k closed 10 years ago
The only way (currently) to view a site is to set a CNAME in the 'cnames' wiki page and then set that in your hosts file. So for example you can put www.example.com in the 'cnames' wiki page and "127.0.0.1 www.example.com" in /etc/hosts, then visit www.example.com:4567 in your browser.
This is pretty bad. I'll make some time tomorrow to make an accessible view route.
On Dec 6, 2013, at 10:50 PM, Richie Khoo notifications@github.com wrote:
Hi I've managed to spin up the app by setting up a few environment variables and running 'rackup' and from there have been able to create a wiki site through your interface and add a couple of pages to it.
How do I view my newly created wiki site with the viewer? I ran: $ ruby viewer.rb Sadly Sinatra no understand what's going on :(
How do I start the viewer and view my sites it in development? What am I missing?
Thanks
Richie
— Reply to this email directly or view it on GitHub.
Ok thanks
@evolve2k there's now a private, authenticated view at /:sitename/view
. Other new things:
layout
instead of just layout.erb
static_path
which you should use for asset includes so that they show up properly in the private view.static_path
helper.
Hi I've managed to spin up the app by setting up a few environment variables and running 'rackup' and from there have been able to create a wiki site through your interface and add a couple of pages to it.
How do I view my newly created wiki site with the viewer? I ran: $ ruby viewer.rb Sadly Sinatra no understand what's going on :(
How do I start the viewer and view my sites it in development? What am I missing?
Thanks
Richie