-3

So I have deployed my rails app on a VPS with Ubuntu Server and Apache, following this tutorial . Everything is working perfectly except that I'm not sure on how to continue to develop my app, bitbucket is configured and working but I don't want to commit and push every time since I make a lot of try and errors. So I'm looking for an easy way to continue to develop and test.

I will appreciate any answers and recommendations , thank you.

keke
  • 54
  • 1
  • 4
  • If you deployed the application as production you can set that section as master. If you want to keep working on it, you could work from features under the develop branch. – Kevin Etore Jun 05 '16 at 20:13

1 Answers1

1

You can keep building your into local machine.

  1. Create a branch git checkout -b branch_name

You can make changes and test this branch.

  1. git add -A

  2. git commit -m "Suitable message"

  3. git checkout master

  4. git pull origin master

  5. git merge branch_name
  6. git push origin master

P.S : You can continue your development in master branch too.

Shravan40
  • 8,922
  • 6
  • 28
  • 48
  • OK perfect thank you ! But now i'm having a small problem , I cloned my project in my local machine but I don't have the database entries that are on my hosted website. ( i'm using sqlite ) – keke Jun 05 '16 at 20:56
  • @keke: If you would like to do testing using live DB, then take a dump of it. Or you can create tables and fill values. – Shravan40 Jun 05 '16 at 20:59
  • @keke, also the best DB setup for a live rails apps is by using `postgres` for production. As `sqlite` have some limitation, which can lead to `sql` errors. Check detail: – Danger Rodriguez Gálvez Sep 27 '21 at 09:46