Comments (7)
@JustJasper the "hang" you are describing is the actual express server just running and waiting for connections. If you open another terminal on the same machine after leaving the node server on and curl http://localhost:3000
you will get connected, but probably encounter a 404
as lumber doesn't serve anything in root by default.
To use the dashboard, open the link given by the command (http://app.forestadmin.com
) and login to see the project you created and connect to it. To connect you will need to configure access to the node server running. This will be dependant on your network. If you had the server running on localhost, it would be as easy as pointing the dashboard to http://localhost:3000
, but since you seem to be running on a VPS of some sort, you will probably need to open a port to the liana (the server generated by lumber that servers data to your admin interface) and connect to it by ip or url (if you have a dns entry pointing to the ip of the VPS), e.g. http://my-vps.my-domain.com:3000
or something.
from lumber.
Hey @JustJasper Can you tell me the version of node
installed?
from lumber.
Hi @SeyZ, I'm running Node 4.2.6 on Ubuntu 16.04.
from lumber.
Hey @JustJasper It seems one of our generates model in the models
directory has a syntax error :( Do you know which one?
from lumber.
Ah, that makes sense - I had a depreciated table in my database which had asterisks in the field name (poor form, I know). I have corrected that (removed the offending fields from the table), and no longer get the 'model creation error', however still unable to connect (server doesn't appear to be running) even after rerunning the node ./bin/www
command. (my SSH connection also hangs at this point).
As this appears to be a slightly different issue, please let me know if I should close this issue and open another.
Apologies if I'm doing something stupid - I'm fairly new at this!
from lumber.
Hey @JustJasper what do you mean by 'My SSH connection also hangs at this point` ?
from lumber.
Apologies if unclear - when I run the node ./bin/www
command, I get the 🌳 Open your admin UI: http://app.forestadmin.com 🌳
message, however, the process appears to 'hang' and I'm forced to Ctrl+C to get back to my command line prompt.
from lumber.
Related Issues (20)
- test-panel docker-compose app fails to start with a sequelize exception
- All of the feature links are broken(not found) on your github homepage HOT 1
- Lumber generate error: MongoError: value too large to reduce
- Extending rich text editor HOT 1
- There is no images inside https://docs.forestadmin.com/documentation/reference-guide/models HOT 1
- PostgreSQL, Generate a new backend application -> Error HOT 3
- DATABASE_URL hard-coded in docker-compose.yml HOT 1
- view codes does not work HOT 2
- Stuck Connection to database HOT 7
- Lumber not allowing pass-through of dialectOptions for Sequelize HOT 13
- (node:89175) UnhandledPromiseRejectionWarning: SequelizeAccessDeniedError: Access denied for user 'samplebloguser'@'localhost' (using password: YES) at ConnectionManager.connect HOT 1
- CRUD on mongoose dataBase with deepObject display "[Object, Object]" HOT 2
- Are there any plans to use typescript for Lumber, or are there any options there HOT 4
- Lumber generate fails with "Your database looks empty! Please create some collections before running the command."
- The automated release is failing 🚨
- Using GraphQL API as datasource
- Fix audit vulnerabilities for lodash and handlebars HOT 2
- Consider adding the Z SELinux label to the docker installation script
- throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
- Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lumber.