---
title: "Comment by Mark on \"Django Deployed Heroku - Live - Hubtree Live - Success!\" | Hashnode"
description: "Great, glad it worked out :-) I&#39;m not quite sure from your post if you&#39;re running this on the server python3 manage .py makemigrations But you should ru"
url: "https://hashnode.com/posts/django-deployed-heroku-live-hubtree-live-success/5cea4df6b4914f6f4e943c65/comment/5ceb9261c55bcbee01acfd0b"
---

[Discussion](https://hashnode.com/posts/django-deployed-heroku-live-hubtree-live-success/5cea4df6b4914f6f4e943c65)

Comment [Django Deployed Heroku - Live - Hubtree Live - Success!](https://hashnode.com/posts/django-deployed-heroku-live-hubtree-live-success/5cea4df6b4914f6f4e943c65)

[Mark](https://hashnode.com/@mverleg)

[May 27, 2019](https://hashnode.com/posts/django-deployed-heroku-live-hubtree-live-success/5cea4df6b4914f6f4e943c65/comment/5ceb9261c55bcbee01acfd0b)

Great, glad it worked out :-)

I'm not quite sure from your post if you're running this on the server

```
python3 manage.py makemigrations
```

But you should run that during development, then commit the resulting migrations with git. That way the database structure becomes part of your code history, and on the server you only do

```
python3 manage.py migrate
```

to have the same database schema (and reference data) as you had in development.

---

Also don't forget

```
python3 manage.py collectstatic
```

if you use static files in Django - I always forget that when updating to new code. And set the file permissions :-)
