Install Actinium
$ npm install -g @atomic-reactor/cli
Actinium relies on MongoDB as its database service. You will need to set up a local instance for development purposes.
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
If you're not sure if you have MongoDB installed already or are running an older version that may not be supported, you can run:
brew services stop mongodb
brew uninstall mongodb
$ brew tap mongodb/brew
$ brew install mongodb-community
$ brew services start mongodb-community
If this is your first time running MongoDB locally, you'll need to create the root admin user account.
$ mongo
$ use admin
$ db.createUser({user:"dbadmin", pwd:"PASSWORD", roles:[{role:"root", db:"admin"}]})
Note: be sure to replace PASSWORD with the actual password you wish to use
$ use actinium
$ db.createUser({user:"actinium", pwd:"PASSWORD", roles:["readWrite"]})
$ exit
Note: be sure to replace PASSWORD with the actual password you wish to use
$ cd /YOUR/PROJECT
$ arcli install actinium
$ arcli install
Configure Actinium to run using the default db and user:
$ cd /WHERE/YOU/SAVED/ACTINIUM
$ arcli db -u "mongodb://actinium:[email protected]:27017/actinium"
$ npm run local
Done!
To view the Database Dashboard provided by Parse Server:
- Username: admin
- Password: admin