Skip to content

bachkaaaaa/CMSTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMSTask

CMSTask is a simple Content Management System (CMS) built with Flask and SQLite. It allows users to manage words and phrases efficiently. The system supports loading initial data from a JSON file, viewing and searching words, editing their details, and deleting them.

Features

  • Load Initial Data: Automatically loads words and phrases from a JSON file if the database is empty.
  • Search and Filter: Provides filtering options to search words and phrases by keywords.
  • Edit Words and Phrases: Enables users to update word details, translations, and example sentences.
  • Delete Words and Phrases: Allows users to remove any word or phrase from the database.

Installation

  1. Clone the repository:

    git clone https://github.com/bachkaaaaa/CMSTask.git
    cd CMSTask
  2. Create a virtual environment:

    python3 -m venv venv
  3. Activate the virtual environment:

    • On Windows:
      .\venv\Scripts\activate
    • On macOS/Linux:
      source venv/bin/activate
  4. Install dependencies:

    pip install -r requirements.txt

Database Setup

  1. Create the database: Open the Flask shell and run the following commands to initialize the database:

    flask shell

    Inside the Flask shell, execute:

    from app import db
    db.create_all()

Usage

  1. Start the application:

    python3 run.py
  2. Open your web browser and visit:

    http://127.0.0.1:5000
    

    Enjoy managing your words and phrases with CMSTask!

About

This is a simple Content Management System (CMS) built with Flask and SQLite that allows users to manage words and phrases. It supports loading initial data from a JSON file, viewing and searching words, editing their details, and deleting them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors