title: SQLite database pushed to EC2 server having trouble
body: <p>I have a django application that uses an SQLite database. I use git to push the changes to my EC2 instance, which runs the website on an Elastic IP. The site itself works, but when I try to log in to the admin interface I get one of two errors from django:</p>
  
  <pre><code>attempt to write a readonly database
  </code></pre>
  
  <p>or</p>
  
  <pre><code>unable to open database file
  </code></pre>
  
  <p>It seems that chmod u+rw leads to the first error and a+rw leads to the second error, but I'm unsure of what is happening. The testserver on my local machine works as expected.</p>
  
  <p>I realize that SQLite may be a bad choice for production, but the site will not have much traffic and I will be the only one using the admin interface or writing to the database. If someone has a solution for setting up MySQL or Postgres and somehow synchronizing the database contents, I would accept that too.</p>