# Use Screen To Bootstrap A Development Install (Ubuntu)

**URL:** https://meta.discourse.org/t/use-screen-to-bootstrap-a-development-install-ubuntu/62678
**Category:** Developers
**Tags:** dev-install, tutorial
**Created:** [May 14, 2017, 12:45pm UTC](https://meta.discourse.org/t/use-screen-to-bootstrap-a-development-install-ubuntu/62678 "2017-05-14T12:45:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sulliops](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sulliops/32/571951_2.png) [@sulliops](https://meta.discourse.org/u/sulliops)
#### Post date: [May 14, 2017, 12:45pm UTC](https://meta.discourse.org/t/use-screen-to-bootstrap-a-development-install-ubuntu/62678/1 "2017-05-14T12:45:18Z")

</div>

This tutorial was posted on [discourse.sulliops.co](https://discourse.sulliops.co) on May 14, 2017.

When installing Discourse for development using [this tutorial](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727), the last step is to run `bundle exec rails server --binding=0.0.0.0` to bootstrap the server. However, once you run this command you cannot do anything without first stopping the server using `Ctl + C`. But, there _is_ a way to bootstrap the server and be able to return to a prompt (to do something else, I suppose).

* * *

> [@Install Discourse on Ubuntu or Debian for Development](https://meta.discourse.org/t/install-discourse-on-ubuntu-or-debian-for-development/14727/1):
>
> #Bootstrap Discourse

Before starting this step, you should run `cd` to verify that you are in your root directory. Presuming this is a development installation, you will be using a non-root user account with sudo access. So, run `sudo apt-get install screen` and allow it to install. Once it has been installed, run `screen -R` and hit enter.

Then, continue the tutorial as normal, but after bootstrapping is complete (after running `bundle exec rails server --binding=0.0.0.0`) you can do `Ctl + A` then `D`. This will return you to your root directory prompt and you can do something else. If and when you need to return to your screen (where you bootstrapped Discourse), just do `screen -R`.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [May 14, 2017, 1:26pm UTC](https://meta.discourse.org/t/use-screen-to-bootstrap-a-development-install-ubuntu/62678/2 "2017-05-14T13:26:49Z")

</div>

As an FYI, there is a screen defined already for use with vagrant. I’m sure adding one for non-vagrant setups would be accepted as a PR

[https://github.com/discourse/discourse/blob/master/docs/vagrant.screen](https://github.com/discourse/discourse/blob/master/docs/vagrant.screen)
