VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
http://vulcanjs.org
MIT License
7.98k stars 1.88k forks source link

I thought you'd like to see what I've done with it. #102

Closed ckizer closed 11 years ago

ckizer commented 11 years ago

Obviously you probably know about the invite only http://news.layervault.com It's where the design elite have been hanging out.

I wanted to clone that style, and I've got one up and running on

http://calm.io:3000

Some of the biggest changes is I was able to convert the entire post to flex box mode. It's really slick layout that way.

I'm really confused though because it seems to not load from .sass but from css instead… :-(

iangcarroll commented 11 years ago

Erm, calm.io is the wrong domain...

ckizer commented 11 years ago

oh no it's right, just forgot port number. I don't know how to make it persistent. I've always worked at startups in ruby environment but as fronted css/js/html. It's tough for me to get this rails project running, can't figure out how to make the server "stay" on, or change the port:

http://calm.io:3000

Here you go!

ckizer commented 11 years ago

The server denies connections. The server might be too busy or might be disabled. Try again a bit later.

Did you guys food it or something? So strange? it worked fine now it says the server is flooded? but the apache works, still just not meteor/ruby

ckizer commented 11 years ago

Added a screenshot, obviously the frontpage isn't all that exciting. But flex box is the way to go. For example if you wanted to add a div for image thumbnails on every post, or content to the post, this model allows you to just create a new div inside of each post section and it will automatically be laid out for you beautifully.

Screenshot: http://kzr.me/image/1J0m2J210911

iangcarroll commented 11 years ago

To set a port on rails, execute it like so: rails s -port (port)

You might be better using Passenger (with rails). It works with vhosts with apache

ckizer commented 11 years ago

snapapp, have you used telescope? Were you building a news site too. Sorry i can't show you the live one. Yes but how can I run Meteor? It I type rails s -port (port) meteor won't run?

This stuff is really confusing… what is the web server? Rails? Meteor? What is server the http requests? I type "Mrt" to run this package, tell me how to run "Mrt" on another port?

SachaG commented 11 years ago

Good job on the redesign, really looks nothing like Telescope! That's pretty cool!

But I must confess I'm very confused by this thread. Why are you talking about Rails and Apache? Meteor doesn't have anything to do with either one.

iangcarroll commented 11 years ago

Gosh, sorry! I heard something about rails ("It's tough for me to get this rails project running")

I love Telescope, and I'm using it for http://serverbooks.net It's a Minecraft serverlist, not a news site. Telescope's very flexible :+1:

@ckizer, just run mrt deploy sitename.meteor.com and you'll have free hosting.

SachaG commented 11 years ago

Wow, very cool! That's exactly the kind of things I wanted to enable by creating Telescope :)

iangcarroll commented 11 years ago

Glad you like it! :)

iangcarroll commented 11 years ago

Ah, how ironic you're part of an org. called oort cloud. Learning about that in school right now :)

Might want to mention I'm in 7th Grade...

SachaG commented 11 years ago

Haha, I don't really know what an Oort Cloud is to be honest, I didn't pick the name :)

iangcarroll commented 11 years ago

Science stuff ahead:

An oort cloud is a theoretical ring, or cloud, light-years away from our galaxy that contains comets. It's supposedly where all the comets come from, but nobody has actually seen it.

See: http://en.wikipedia.org/wiki/Oort_cloud Bottom left square of http://en.wikipedia.org/wiki/File:Oort_cloud_Sedna_orbit.svg

On Tue, Apr 16, 2013 at 11:05 PM, SachaG notifications@github.com wrote:

Haha, I don't really know what an Oort Cloud is to be honest, I didn't pick the name :)

— Reply to this email directly or view it on GitHubhttps://github.com/SachaG/Telescope/issues/102#issuecomment-16484502 .

ckizer commented 11 years ago

I have lots of hosting. My question is how do I deploy this. I'm asking about all the servers because I don't understand what is the web server? Is meteor the web server? Or is it really using Rails? I'm so confused. It behaves like ruby on rails. So is this a ruby project with Meteor dropped in to replace rails or do I have ruby+rails+meteor?

I have it running on that server now, but all of a sudden rails or whatever runs says too many connections. But I can just use mrt deploy calm.io next-time and it will turn it into more of a production app?

ckizer commented 11 years ago

I'm almost done adding themes. We're using handlebar templates. I would love to have a lot less of the markup be intertwined in javascript (the templates are fine). Everytime there is a line of javascript that writes DOM elements it takes control of the site away from the designer. In my idea world I'd love to let meteor reference stuff by data-bind instead of ID#. It feels much cleaner. Themes are clean, and even allow HTML changes. I'm also allowing articles to have content on the main page, and adding in the ability to have an add line :-)

ckizer commented 11 years ago

I know it looks way different but it's not that different. you can easily enable the share buttons and such

SachaG commented 11 years ago

Meteor has absolutely nothing to do with Rails or Ruby, it's a JavaScript framework based on Node.js. And the web server is Node.

And I don't think there's any markup interwined with Javascript except maybe for the comments, Handlebars forces you to maintain a pretty good separation between both.

iangcarroll commented 11 years ago

Yeah, while it may appear to be semi-related to Rails, there is no Rails code. Running Rails in the directory would be utterly pointless.

SachaG commented 11 years ago

How does it appear semi-related to Rails? If something in the docs or the code references Rails or makes people think it's a Rails app, I should probably change it to avoid any confusion…

iangcarroll commented 11 years ago

At first I thought meteor relied on Rails because I had never seen a pure JS app before

Sent from my iPhone

On Apr 18, 2013, at 10:54 AM, SachaG notifications@github.com wrote:

How does it appear semi-related to Rails? If something in the docs or the code references Rails or makes people think it's a Rails app, I should probably change it to avoid any confusion…

— Reply to this email directly or view it on GitHub.

SachaG commented 11 years ago

Oh ok :)