豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

erfanghorbanee/Quote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quote

Code style: black Imports: isort License: MIT

A blog using Flask, MongoDB, and a little bit of JavaScript. You can post content or enjoy reading other people's content.

Features

  • As a normal user :

    • Read all posts in application
    • Search in posts with categories and tags
  • As logged in user :

    • Create, delete and deactivate your posts
    • Edit your posts (you can't change the image and post's category)
    • Like or dislike posts

How install and run ?

Clone the repository :
$ git clone https://github.com/erfanghorbanee/Quote.git
$ cd Quote
Create a virtualenv and activate it:
$ python3 -m venv venv
$ . venv/bin/activate.
Or on Windows cmd :
> py -3 -m venv venv
> venv\Scripts\activate.bat
Install the app :
$ pip3 install -e .
Export environment variables and run flask on local host :
$ export FLASK_APP=quote
$ export FLASK_ENV=development
$ flask run
Or on Windows cmd :
> set FLASK_APP=quote
> set FLASK_ENV=development
> flask run

Open http://127.0.0.1:5000 in your browser.

About

A blog using Flask, MongoDB, and a little bit of JavaScript. You can post content or enjoy reading other people's content.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors