forked from angular-app/angular-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add information about setting up and using the first default admin user
- Loading branch information
Bryan Gilbert
committed
May 24, 2014
1 parent
bd99275
commit 1f55cae
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,6 +103,15 @@ The server stores its data in a MongoLab database. | |
}, | ||
``` | ||
* Optionally change the name of admin user in `server/lib/initDB.js`. The default is 'Admin' ([email protected] : changeme). | ||
``` | ||
var initDB = { | ||
adminUser: { email: '[email protected]', password: 'changeme', admin: true, firstName: 'Admin', lastName: 'User' }, | ||
}); | ||
// Note the user information, including password, are stored as plain text in the MongoLab database. | ||
``` | ||
* Run our initialization script to initialize the database with a first admin user ([email protected] : changeme). | ||
``` | ||
|
@@ -141,6 +150,7 @@ The app made up of a number of javascript, css and html files that need to be me | |
cd .. | ||
``` | ||
* Browse to the application at [http://localhost:3000] | ||
* Login with the admin user as defined in `server/lib/initDB.js`. | ||
## Browser Support | ||
We only regularly test against Chrome 29 and occasionally against Firefox and Internet Explorer. | ||
|