Skip to content

Commit

Permalink
Add default account details to developer documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ineffyble committed Jan 26, 2017
1 parent 9b88ac0 commit 376165b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Running-Mastodon/Development-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ You can run Mastodon with:

rails s

And open `http://localhost:3000` in your browser. Background jobs run inline (aka synchronously) in the development environment, so you don't need to run a Sidekiq process.
And open `http://localhost:3000` in your browser. Background jobs run inline (aka synchronously) in the development environment, so you don't need to run a Sidekiq process.

By default, your development environment will have an admin account created for you to use - the email address will be `admin@YOURDOMAIN` (e.g. admin@localhost:3000) and the password will be `mastodonadmin`.

You can run tests with:

Expand Down
2 changes: 1 addition & 1 deletion Running-Mastodon/Vagrant-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Running `vagrant up` for the first time will run provisioning, which will:

The Vagrant box will automatically start after provisioning. It can be started in future with `vagrant up` from the mastodon directory.

Once the Ubuntu virtual machine has booted, it will run the startup script, which loads the environment variables from `.env.vagrant` and then runs `rails s -d -b 0.0.0.0`. This will start a Rails server. You can then access your development site at http://mastodon.dev (or at http://localhost:3000 if you haven't installed vagrants-hostupdater).
Once the Ubuntu virtual machine has booted, it will run the startup script, which loads the environment variables from `.env.vagrant` and then runs `rails s -d -b 0.0.0.0`. This will start a Rails server. You can then access your development site at http://mastodon.dev (or at http://localhost:3000 if you haven't installed vagrants-hostupdater). By default, your development environment will have an admin account created for you to use - the email address will be `[email protected]` and the password will be `mastodonadmin`.

To stop the server, simply run `vagrant halt`.

Expand Down

0 comments on commit 376165b

Please sign in to comment.