senchalabs / jQTouch

Create powerful mobile apps with just HTML, CSS, and Zepto.js (or jQuery).
http://www.jqtouch.com/
MIT License
2.79k stars 592 forks source link

Master Branch Error #486

Closed tskweres closed 11 years ago

tskweres commented 11 years ago

Hey Guys,

I may not be doing this right but...

I downloaded the master branch in a zip file, unzipped it, tried the demos, and they're all broken. Files like the themes css files and zepto are missing. Is there another step in the installation process?

If I download the old version from the website, I can unzip and the demos work, but in the old version useFastTouch doesn't work.

Any ideas on how to get the newer version where userFastTouch works?

Thanks!

thomasyip commented 11 years ago

The master version no longer pre-compiled. The zip file is just another way to get the source, instead of using git, and is not a compiled version.

You will need to install node.js and grunt-cli.

Here are untested steps:

cd jqtouch
npm install -g grunt-cli
grunt

The compiled version will be in a sub folder.

Hope it helps.

tskweres commented 11 years ago

Hmm, installed both, created a directory called JQTest, ran:

npm install -g grunt-cli

grunt

I'm getting this error: Fatal error: Unable to find local grunt.

If you're seeing this message, either a Gruntfile wasn't found or grunt hasn't been installed locally to your project.

Do I need to download the grunt file from github?

devgeeks commented 11 years ago

after npm install -g grunt-cli try doing a npm install

This should download any local npm modules needed?

tskweres commented 11 years ago

Awesome I think I got it now, thanks for your help!!

On Thu, Apr 4, 2013 at 4:50 PM, tommy-carlos williams < notifications@github.com> wrote:

after npm install -g grunt-cli try doing a npm install

This should download any local npm modules needed?

— Reply to this email directly or view it on GitHubhttps://github.com/senchalabs/jQTouch/issues/486#issuecomment-15931356 .

tskweres commented 11 years ago

Actually....I take that back.

So I finally got a chance to test the build and it's missing the CSS files in the themes folder...they just aren't there. So...I copied over the old css from the previous version, and it's really buggy.

I can send you a copy of my build from command line. Do you know of anyone who just has a zip of the main demo that's up to date?

thomasyip commented 11 years ago

Hum... you are probably missing git submodule.

As a second thought, you should better get it from git. It is a "well traveled path".

ilyacherevkov commented 10 years ago

I think you don't have compass gem installed, so css files are not compiled. Or you are using rvm and "sudo gem install compass" will not work for your current gemset. You need to run "gem install compass" instead.