mm-server - Error: Could not find a Middleman project structure

51 views
Skip to first unread message

optikfluffel

unread,
May 24, 2011, 8:30:49 PM5/24/11
to middleman-users
Hi guys :)
I initialized a mm-project on my Macbook, made a git repo out of it,
pushed it to my server, pulled it on my other computer and if i want
to start the server on it I get the "Error: Could not find a Middleman
project structure, perhaps you are in the wrong folder?"
On the first computer it works great. What do I have to add to the git-
repo to get the server running on the other?

Hope you can help me and king regards, optikfluffel.

Thomas Reynolds

unread,
May 24, 2011, 8:37:29 PM5/24/11
to middlem...@googlegroups.com
Middleman will search up from your current directory until it finds a folder with either of two subfolders (views and/or public). This is declared the root and the server will start.

I think you may have 'cd' into the wrong folder.

-Thomas

optikfluffel

unread,
May 25, 2011, 4:08:51 AM5/25/11
to middleman-users
i got it :) the problem was that git doesn't add empty directories to
the repo and so the whole public-folder wasn't there..

Thomas Reynolds

unread,
May 25, 2011, 1:24:04 PM5/25/11
to middlem...@googlegroups.com
Ahh… was "views/" empty too?

-Thomas
Reply all
Reply to author
Forward
0 new messages