- Run
pip install -r requirements.txtto install all dependencies required to run the app mentioned inrequirements.txtwhich is insidedocsfolder
python3 app.pywill start the flask application indevelopment. This is for running app on local system.
- Add the
requirements.txtinpoetry - Go to the shell and run
pip install --upgrade poetry - Select and open the
main.pypython file and click the Run button. - The web app will be available at
- Format will be sort of https://..repl.co
project_database.sqlite3is the sqlite database. It can be anywhere on the machine just the adjustment in path inapp.pyis required. One of the database is shipped for testing purpose.- The application code for my app is
/ statica folder in which we have the images and css files used in the app.blogsis the folder where blog upload imgs are stored.profileis the folder where profile pics are stored.
templatesis the default folder where templates are stored
mad1-project/
├── app.py
├── modals.py
├── database.sqlite3
├── static
├──login_signup.css
├──mains.css
├──comments.css
├──start.css
├──imgs
└──profile
└── profile-pic
└──blogs
└── blog-images
├── readme.md
└── templates
├── blog.html
└── comments.html
└── edit_profile.html
└── editblog.html
└── followers.html
└── following.html
└── login.html
└── postBlog.html
└── postengage.html
└── profile.html
└── recentsPosts.html
└── search.html
└── start.html
└── user_home.html