![]() ![]() When I go to my app folder and start the server (npm start or node server.js), the website starts up but with the below mongoDB authentication errors, below is only the first section. ![]() This image is regularly updated with the latest stable release of each component. In addition to the core components, the stack also includes an Apache web server, PHP, RockMongo, and Git. Variables.env DATABASE_CONN = have also tried many other connections strings, exchanging root for bitnami default user, etc. Just launch the Bitnami MEAN Stack in the cloud and add your code in minutes. Server.js const app = require('/opt/bitnami/apps/MYAPP/app.js') There is currently only one admin user in the database at present i.e. I can also access the db via Rockmongo SSH. Mongo admin -username root -p password via SSH. User login and registration, security and account management are extremely common requirements for many applications. Server side set up is currently a weakness. Bitnami mean rockmongo for free The Y combinator alum’s new stack will come integrated with Node.js and available for free from the BitNami app store as a native installer or virtual machine for local development, or as a cloud template for the Amazon and Windows Azure cloud computing platforms. I find one of the best ways to learn how to use a new technology such as the MEAN stack is to tinker with and extend working examples of real world applications. I thought this would be easier than setting up on nodeJS and then adding mongoDB separately (well i did try that first with similar problems), I do intend to learn angualar in future so this is probably better long term. ![]() I am using the mongo,node, express part of the stack, I do not need or know any angular at present. The website itself is running fine, except for any pages that have an ajax/db call, as the database is not connecting/authenticating my connection string. The home page displays according to the Bitnami blueprint you chose for your instance. I have been trying for a few days to connect my mongoDB to MEAN stack without success. To sign in to the Bitnami application In a browser window, navigate to the public IP address for your instance. ![]()
0 Comments
Leave a Reply. |