Spacebrew / spacebrew

A dynamic re-routable software toolkit for choreographing interactive spaces.
MIT License
222 stars 50 forks source link

Missing live_persist_config.json #41

Closed kevinports closed 11 years ago

kevinports commented 11 years ago

I'm following README as instructed and when running

node node_server_forever.js

or

node node_server.js

I get a warning:

warn: [loadRoutes] live routes config file does not exist live_persist_config.json

and a message is served to the browser "Not implemented".

Not sure what the problem is here.

anthonybruno commented 11 years ago

Running into this as well.

ericie commented 11 years ago

I think that happens the first time you run the SpaceBrew server right? Stopped and started then the error goes away.

julioterra commented 11 years ago

The warning that you received is expected on the first time that you run a Spacebrew server locally. The live_persist_config.json file is created the first time you run the server, so this warning will go away the next time you startup the server.

The issue you are encountering in your browser is happening because you are trying to navigate to the Spacebrew server directly. Instead you need to open up the Spacebrew admin page in your browser, and use the query string to point the admin to your local Spacebrew server.

The admin page is located in the following path within the Spacebrew server directory:

admin/admin.html

To point the admin page to a Spacebrew server running on your local machine just add the following query string:

admin/admin.html?server=localhost

As an example, here is the full URL for the local Spacebrew admin page on my computer:

file:///Users/julioterra/Code/Spacebrew/_server/spacebrew/admin/admin.html?server=localhost

You can also use the admin page hosted online to manage apps connected to your server. Here is the URL for that admin page:

http://spacebrew.github.io/spacebrew/admin/admin.html?server=localhost
heaversm commented 9 years ago

@julioterra - I still get this issue no matter how many times I start up the server.