Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing live_persist_config.json #41

Closed
kevinports opened this issue Aug 10, 2013 · 4 comments
Closed

Missing live_persist_config.json #41

kevinports opened this issue Aug 10, 2013 · 4 comments

Comments

@kevinports
Copy link

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
Copy link

Running into this as well.

@ericie
Copy link

ericie commented Sep 4, 2013

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

@julioterra
Copy link
Member

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants