teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

5

説明文追記

2018/04/27 10:56

投稿

y_y.
y_y.

スコア16

title CHANGED
File without changes
body CHANGED
@@ -1,7 +1,11 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
3
  DjangoGirlsTutorial というサイトに従い、Django の学習を進めている者です。
4
+
5
+ $ git push heroku master を実行した後に、
6
+ $ heroku run python manage.py migrate を行いました。
7
+
4
- $ git push heroku master を実行した後、webサイトを確認するとNot Found となります。
8
+ $ heroku open でwebサイトを確認したのでが、Not Found となります。
5
9
  原因がお分かりになる方、ご教授頂けますでしょうか。
6
10
 
7
11
  ### 発生している問題・エラーメッセージ

4

コード追記

2018/04/27 10:56

投稿

y_y.
y_y.

スコア16

title CHANGED
File without changes
body CHANGED
@@ -15,8 +15,25 @@
15
15
  以上の二つを実行すればWebサイトが見れるようになる。とのことなのですが、
16
16
  Not Found
17
17
  The requested URL / was not found on this server.
18
- と表示されます。
18
+ 、web上で表示されます。
19
19
 
20
+ ###
21
+ $ heroku run python manage.py migrate を実行すると以下のように表示されます。
22
+ ```
23
+ Running python manage.py migrate on ⬢ djangogirlsblog-y... up, run.1180 (Free)
24
+ Operations to perform:
25
+ Synchronize unmigrated apps: staticfiles, messages
26
+ Apply all migrations: auth, contenttypes, admin, blog, sessions
27
+ Synchronizing apps without migrations:
28
+ Creating tables...
29
+ Running deferred SQL...
30
+ Installing custom SQL...
31
+ Running migrations:
32
+ No migrations to apply.
33
+ ```
34
+
35
+
36
+
20
37
  ### 補足情報(FW/ツールのバージョンなど)
21
38
  python 3.6.4
22
39
  mac OS

3

tag 追加

2018/04/27 10:24

投稿

y_y.
y_y.

スコア16

title CHANGED
File without changes
body CHANGED
File without changes

2

初心者アイコン

2018/04/27 09:56

投稿

y_y.
y_y.

スコア16

title CHANGED
File without changes
body CHANGED
File without changes

1

tag 追加

2018/04/27 09:53

投稿

y_y.
y_y.

スコア16

title CHANGED
File without changes
body CHANGED
File without changes