From f28ed0087129e4a84f157ae28bdf0459009004ab Mon Sep 17 00:00:00 2001 From: Peter Lamber Date: Thu, 31 Jan 2019 10:45:16 +0100 Subject: [PATCH] Update overview.md --- content/en/development/overview.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/development/overview.md b/content/en/development/overview.md index c33ec23a..c98432d5 100644 --- a/content/en/development/overview.md +++ b/content/en/development/overview.md @@ -27,6 +27,8 @@ It should be noted that the Docker configuration distributed with Mastodon is op ## Setup +Run following commands in the project directory `bundle install`, `yarn install`, `rails webpacker:compile` + In the development environment, Mastodon will use PostgreSQL as the currently signed-in Linux user using the `ident` method, which usually works out of the box. The one command you need to run is `rails db:setup` which will create the databases `mastodon_development` and `mastodon_test`, load the schema into them, and then create seed data defined in `db/seed.rb` in `mastodon_development`. The only seed data is an admin account with the credentials `admin@localhost:3000` / `mastodonadmin`. > Please keep in mind, by default Mastodon will run on port 3000. If you configure a different port for it, the generated admin account will use that number.