# What is the latest recommended workflow for local development? (Ubuntu 16.04)

**URL:** <https://meta.discourse.org/t/what-is-the-latest-recommended-workflow-for-local-development-ubuntu-16-04/71213>\
**Category:** Development\
**Created:** [2 Octubre, 2017 22:08 UTC](https://meta.discourse.org/t/what-is-the-latest-recommended-workflow-for-local-development-ubuntu-16-04/71213 "2017-10-02T22:08:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2 Octubre, 2017 23:33 UTC](https://meta.discourse.org/t/what-is-the-latest-recommended-workflow-for-local-development-ubuntu-16-04/71213/4 "2017-10-02T23:33:51Z")

</div>

Yeah that bash script is overdoing it a bit.

I use:

```plaintext
#!/bin/bash
set -e

dropdb --if-exists discourse_development
dropdb --if-exists discourse_test
dropdb --if-exists discourse_test_multisite

createdb discourse_development
createdb discourse_test
createdb discourse_test_multisite

redis-cli flushall

bundle exec rake db:migrate
RAILS_ENV=test bundle exec rake db:migrate

```

---

_[View the full topic](https://meta.discourse.org/t/what-is-the-latest-recommended-workflow-for-local-development-ubuntu-16-04/71213)._
