Skip to content

Latest commit

 

History

History
166 lines (115 loc) · 6.3 KB

README.md

File metadata and controls

166 lines (115 loc) · 6.3 KB

CSTG 2026 Conference Website

Welcome to the repository for the CSTG2026 conference website. This website has been developed to provide information and updates about the upcoming CSTG2026 academic conference. Below you will find instructions on how to set up, configure, and contribute to this project.

Table of Contents

Project Overview

The CSTG2026 conference website is a fictional project created for educational purposes. It is designed to demonstrate web development skills and does not represent a real conference.

Features

  • Comprehensive homepage
  • Account management system
  • Complete submission and review process
  • User dashboard
  • Integrated discussion forum
  • Waiting for you to explore

Installation

Option 1: Docker (recommended)

Make sure Docker is available on your machine.

Pull image from Docker Hub:

docker pull icez26/cstg2026:latest

Start server:

docker run --rm -p 15000:5000 -it icez26/cstg2026

Now you can view our website at http://localhost:15000.

Option 2: Local

Initialization:

  1. Make sure that you have Python and MySQL locally. We are running under Python 3.10.12 and MySQL 8.2.0. We do not guarantee that the project will run in other environments.
  2. Install Python package PyMySQL, Flask, and Flask-Uploads.
  3. Clone this repo.
  4. Replace the user name and password in db.py with your MySQL account. Replace the FLASK_APP in init_server.sh and start_server.sh with the path of this repo.
  5. Change to the parent directory of this repo and run CSTG2026/init_server.sh.

Start the deployment server: change to the parent directory of this repo and run CSTG2026/start_server.sh.

Now you can view our website at http://localhost:15000.

Usage

Our website comes with some pre-initialized accounts for demonstration purposes. You can use these accounts to explore the features of our website. Alternatively, you can sign up a new account and then sign in.

Email Password Role
[email protected] 123456 Author
[email protected] 234567 Author
[email protected] 345678 Author
[email protected] 345678 Author
[email protected] 567890 Author
[email protected] 678901 Author
[email protected] 789012 Author
[email protected] 890123 Author
[email protected] 901234 Author
[email protected] 1234567 Reviewer
[email protected] 2345678 Reviewer
[email protected] 3456789 Reviewer
[email protected] 4567890 Reviewer
[email protected] 5678901 Reviewer
[email protected] 6789012 Reviewer
[email protected] 7890123 Reviewer
[email protected] 8901234 Reviewer

Common Issues

During installation, you may encounter some common issues. Here are solutions to help you resolve them.

If your encounter an error like

Error: While importing 'CSTG2026', an ImportError was raised:

Traceback (most recent call last):
  File "/home/icez/.local/lib/python3.10/site-packages/flask/cli.py", line 247, in locate_app
    __import__(module_name)
  File "/home/icez/college/CSTG2026/__init__.py", line 2, in <module>
    from flask_uploads import UploadSet, configure_uploads, IMAGES, DOCUMENTS
  File "/home/icez/.local/lib/python3.10/site-packages/flask_uploads.py", line 26, in <module>
    from werkzeug import secure_filename, FileStorage
ImportError: cannot import name 'secure_filename' from 'werkzeug' (/home/icez/.local/lib/python3.10/site-packages/werkzeug/__init__.py)

when running init_server.sh. Execute

sed -i 's/from werkzeug import secure_filename, FileStorage/from werkzeug.utils import secure_filename\nfrom werkzeug.datastructures import FileStorage/' /home/icez/.local/lib/python3.10/site-packages/flask_uploads.py

and rerun init_server.sh. Remember to replace the path of flask_uploads.py with your own.

Pending Tasks

There are several features and improvements that are still in progress or planned for future development:

  1. Edit Account Information: Now you cannot modify your personal information after registering an account, which is clearly unreasonable.
  2. Enhanced Forum Features: We plan to add features such as sorting, filtering, and searching forum content, as well as the ability to like, bookmark, and share posts and replies.
  3. Messaging System: We plan to implement a messaging system that notifies users when their submissions are reviewed or when their posts receive replies.
  4. Mobile Optimization: Many pages currently do not display correctly on small devices. We are short-staffed, but we are working on it.

Contributions to any of these tasks are welcome!

Contributing

We welcome contributions from the community! To contribute, please follow these steps:

  1. Fork this repo

  2. Create a new branch

    git checkout -b feature/your-feature-name
  3. Make your changes

  4. Commit your changes

    git commit -m "Add your commit message"
  5. Push to the branch

    git push origin feature/your-feature-name
  6. Create a pull request

Please ensure your code follows the project's coding standards and includes appropriate tests.

Disclaimer

This website is a course project and is entirely fictional. Any resemblance to real conferences, events, or organizations is purely coincidental. All information, including user profiles, emails, and papers, is created for educational purposes and does not reflect any real-world entities or events.

Contact

For any inquiries or further information, please contact the project maintainer at [email protected]. (Do not contact. This is also fictional.)