File tree 1 file changed +24
-1
lines changed
1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
- # flask-blog
1
+ # Blog built using Flask
2
+ * FrontEnd: HTML, CSS, Bootstrap
3
+ * Database: Postgresql (both local and deployment -- Heroku)
4
+
5
+ # How to run the application locally?
6
+ * Change parameters, information in info.json file.
7
+ * Setup postgresql client on your machine.
8
+ * Create local database and replace the name of db with your db name in <b > blog.py </b >:
9
+ ```
10
+ database_url = os.getenv(
11
+ 'DATABASE_URL',
12
+ default='postgresql://postgres:12345@localhost:5432/your-db-name',
13
+ )
14
+ ```
15
+ * Run blog.py file.
16
+
17
+ # How to deploy the app on Heroku?
18
+ * Create new app on Heroku.
19
+ * Link the app to GitHub Repository.
20
+ * Manually Create Postgres instance.
21
+ * Push the changes to Heroku Remote.
22
+
23
+ # Blog Link
24
+ https://flask-heroku-blog.herokuapp.com/
You can’t perform that action at this time.
0 commit comments