Skip to content

A Blog application built using Flask/Python with SQLAlchemy.

License

Notifications You must be signed in to change notification settings

anuraagnagar/codera

Repository files navigation

Codera

Welcome to Codera This is a fully functional blog application built using Flask\Python and HTML, CSS, & JavaScript.

Live Demo

You can checkout a live preview of this Application by clicking HERE.

Table of Contents

  1. Features
  2. Prerequisites
  3. Installation
  4. Contributing
  5. License
  6. Author

Features

For a detailed list of features, please refer to FEATURES.md.

Prerequisites

  • Python 3.x
  • Virtual environment tool (e.g., venv or virtualenv)
  • Git (optional, but recommended for cloning the repository)

Installation & Set up

1. Clone the git repository.

git clone https://github.com/anuraagnagar/codera.git

2. Go to the project directory.

cd codera

3. Create and Activate virtual environment.

On Windows

python -m venv venv
venv\Scripts\activate

On MacOS/Linux

python3 -m venv venv
source venv/bin/activate

4. Install the requirement package.

pip install -r requirements.txt

To run this project locally, you will need to set .env.example file to .env on base directory and set values to environment variables.

5. Migrate/Create a database.

Initialize the database migration directory.

flask db init

Run migrate command.

flask db migrate -m "initial_migration"

Upgrade the database for latest migration.

flask db upgrade

6. Run the application.

flask run

Access the application at http://localhost:5000 in your web browser.

Contributing

Contributions are welcome! If you find a bug or want to add a new feature, please open an issue or submit a pull request. For more information checkout CONTRIBUTING.md

License

By contributing to this project, you agree that your contributions will be licensed under the BSD-3-Clause

Author

Anurag Nagar