CampusConnect is an online communication platform that encourages university members to share concerns, raise awareness, and collaborate on issues such as women's rights and campus safety.
It provides an inclusive environment that facilitates communication through group chats, ensuring everyone stays informed and involved.
CampusConnect's mission is to strengthen connections and make communication more accessible within the school, creating an inclusive environment that ensures everyone is informed and involved.
- Ruby 3.2.2
- Ruby on Rails 7.1
- PostgreSQL (Database)
- Redis (for Caching and ActionCable)
- Ruby 3.2.2
- PostgreSQL
- Redis
- Node.js & Yarn
- Make sure Ruby is installed:
ruby -v
- Clone the project:
git clone https://github.com/z1mow/CampusConnect.git
cd CampusConnect
- Install required gems:
bundle install
- PostgreSQL setup (if not installed):
brew install postgresql
brew services start postgresql
(if it doesn't work: /opt/homebrew/opt/postgresql@14/bin/postgres -D /opt/homebrew/var/postgresql@14)
Note: To create an admin user:
psql postgres (or psql -U postgres)
SQL: CREATE ROLE admin WITH LOGIN SUPERUSER PASSWORD 'password';
\q
- Database setup:
rails db:drop
rails db:create
rails db:migrate
rails db:seed
rails db:migrate:redo VERSION=20241230200100 # Creates materialized view
Note: To refresh group message summaries (materialized view), you can run:
bin/rails views:refresh_group_messages
- Webpacker setup:
rails webpacker:install
bin/webpack
- Start the server:
rails server
- Fork the project
- Create your feature branch (
git checkout -b feature/new-feature
) - Commit your changes (
git commit -m 'Add new feature'
) - Push to the branch (
git push origin feature/new-feature
) - Open a Pull Request
This project is licensed under the MIT License.
- Nilüfer Gülçiftçi
- Nursen Karadayı
- Övgü Güleç
- Umut Kılınçkaya
- Şakir Öğüt
For any questions or suggestions:
Thanks to everyone who has contributed to this project!