10000 GitHub - rebelning/blog_example: python flask blog example
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rebelning/blog_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Blog Example This is a simple blog example project built with Flask and SQLAlchemy.

##Features User registration and login Create, read, update, and delete blog posts User authentication and authorization Basic CRUD operations for blog posts User-friendly interface ##Installation ####1.Clone the repository:

git clone https://github.com/rebelning/blog_example.git 

####2.Navigate to the project directory:

cd blog_example

###3.Create a virtual environment:

python -m venv venv

####4.Activate the virtual environment:

On macOS and Linux:

source venv/bin/activate

On Windows:

venv\Scripts\activate

####5.Install the required dependencies:

pip install -r requirements.txt

####6.Set up the database and start the application:

export FLASK_APP=app/app.py
flask db init && flask db migrate && flask db upgrade && flask run

####7.Open your web browser and visit http://localhost:5000 to access the application.

###Usage Register a new user account by providing a username and password. Log in using your registered account credentials. Create new blog posts, edit existing posts, or delete posts. View all blog posts on the homepage. Click on a blog post to view its details. ###Contributing Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

###License This project is licensed under the MIT License.

Please note that the above steps have been combined for brevity. You can modify and adjust them based on your project's structure and requirements. Make sure to provide sufficient information for other developers to understand and use your project.

Feel free to modify and supplement the steps to match your specific project. You can also add project screenshots, example code, and other relevant information to provide a more comprehensive project introduction.

Hope this example helps! If you have any other questions, feel free to ask.

About

python flask blog example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0