Skip to content

Commit

Permalink
Merge pull request angular-app#228 from bgil/master
Browse files Browse the repository at this point in the history
Add information about setting up and using the first default admin user
  • Loading branch information
petebacondarwin committed May 24, 2014
2 parents bd99275 + 1f55cae commit 44cf25f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
```
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 44cf25f

Please sign in to comment.