Overview:
Cindy-Realtime日本語バーション (translated as Cindy-Realtime Japanese version) is a website designed for playing lateral thinking games. It has a Python Django backend and a Node.js frontend. The project is in maintenance mode and the latest website has been partially rewritten with a Rust-lang based backend and React frontend in separate repositories. Cindy-Realtime inherits its database from Cindy but has a completely different frontend. It includes features like WebSocket for real-time chat, React for a more convenient UI, and GraphQL & Relay for faster site loading. However, there are some drawbacks such as limited old browser support and inability to deploy on a single-thread PaaS.
Features:
- WebSocket for real-time chat-like application
- React for a more convenient UI and easier maintenance
- GraphQL & Relay for faster site loading
Installation:
- Clone this repo.
- Install the necessary requisitories:
- Postgresql (or use MySQL server with mysql.cnf)
- Redis DB
- Python3.5
- Node.js manager (latest npm or bower, optional for using assets.7z)
- Python Image Library and its dependencies (optional, for enabling TWEET_WITH_IMAGE)
- Make sure Python and pip are installed and added to your PATH. You can use python3 or pip3 instead.
- Configure your Postgresql database:
- Open postgresql, create a user and a database, and grant all privileges to it.
- Edit POSTGREDB_SETTINGS in ./cindy/security.py file according to your settings (a template is provided).
- Generate the necessary data for Django.
- Build the develop dependencies for Node.js.
- Run the server on your localhost using the command:
python manage.py runserver. - Open http://127.0.0.1:8000 in your browser to access the Cindy-Realtime website.
- The page will update instantly when you change your code.
Summary:
Cindy-Realtime is a website for playing lateral thinking games that has a Python Django backend and a Node.js frontend. It includes features such as real-time chat using WebSocket, a more convenient UI with React, and faster site loading with GraphQL & Relay. The project is currently in maintenance mode and the latest version has been partially rewritten with a Rust-lang based backend and React frontend. The installation process involves cloning the repository, installing the necessary requisitories, configuring the database, generating data for Django, building Node.js dependencies, and running the server on localhost.