montagejs/digit

Puzzled on how to preview project

Closed this issue · 6 comments

I cloned the project and did npm install.

The README states:

To preview the components, add a symlink that points to Montage at /node_modules/montage and then you should see them if you visit /overview on your local server.

Why do this if you are using npm? Am I missing a command? Do I need a specific server?

With npm install there's really no need for the symlink. We need to review the instructions in the README as they seem outdated now.
At one point in time the Montage project was not using npm.

Ok, updated the README

Regardless, hopefully soon we can put them live somewhere?

@Wolfr After doing npm install, when you go to [path to digit]/overview on your local server, you don't see a list with all the components?

I saw a blank page.

This was on a local Apache webserver.

On Thu, Jul 4, 2013 at 9:01 PM, simurai notifications@github.com wrote:

Ok, updated the READMEhttps://github.com/montagejs/digit/blob/master/README.md

Regardless, hopefully soon we can put them live somewhere?

@Wolfr https://github.com/Wolfr After doing npm install, when you go to [path
to digit]/overview on your local server, you don't see a list with all
the components?


Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-20490096
.

Hmm.. any complaints in the console?

Tried it again and it works. Glitch in the system? In any case I would
remove the part about symlinking from the readme and maybe make a note
about Pythons server

$ cd ~/targetdir$ python -m SimpleHTTPServer

Now I guess if you are exploring this you are technical enough to know
what a web server is but clarity never hurts

On Thu, Jul 4, 2013 at 9:20 PM, simurai notifications@github.com wrote:

Hmm.. any complaints in the console?


Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-20490676
.

Ohh.. great. Yes, removed the symlinking from the README. Thanks for pointing that out.