# Discourse as Your First Rails App

**URL:** <https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751>\
**Category:** Blog\
**Created:** [Abril 9, 2013, 11:08pm UTC](https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751 "2013-04-09T23:08:33Z")\
**Posts on this page:** 1\
**Showing post:** 37

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [Junho 7, 2013, 10:13pm UTC](https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751/37 "2013-06-07T22:13:41Z")

</div>

Using the shared folder `/vagrant` will provide really low performance.

If you want decent performance, you will need to do the following:

```shell
# create an alias to synchronize the code from the shared folder to a local folder
alias sin="rsync -a --delete /vagrant ~"
# actually synchronize (can take a minute for the first run)
sin
# switch to the local folder
cd ~/vagrant
# standard procedure to update, migrate and launch the application
bundle install
bundle exec rake db:migrate
bundle exec rails s

```

Enjoy 😉

---

_[View the full topic](https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751)._
