Hi. I want to deploy mastodon locally on my computer, to run it and do some tests for research purposes. From what I’ve found so far, you need to have a domain to deploy mastodon. Can you please point me towards any resources which I can use to deploy it locally, if it’s possible at all?
This file has been truncated.
**Don't use Docker to do development**. It's a quick way to get Mastodon running in production, it's **really really inconvenient for development**. Normally in Rails development environment you get hot reloading of backend code and on-the-fly compilation of assets like JS and CSS, but you lose those benefits by compiling a Docker image. If you want to contribute to Mastodon, it is worth it to simply set up a proper development environment.
In fact, all you need is described in the [production guide](Production-guide.md), **with the following exceptions**. You **don't** need:
- An `.env.production` file. If you need to set any environment variables, you can use an `.env` file
- Use `LOCAL_HTTPS=false` if developing on the same machine
- To prefix any commands with `RAILS_ENV=production` since the default environment is "development" anyway
- Any cronjobs
The command to install Ruby project dependencies is the following:
You need an externally visible hostname to exchange messages with other instances, but for development you can run it locally and connect to the frontend via