Skip to content

z1mow/CampusConnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎓 CampusConnect

About the Project

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.

Technical Stack

  • Ruby 3.2.2
  • Ruby on Rails 7.1
  • PostgreSQL (Database)
  • Redis (for Caching and ActionCable)

Installation

Prerequisites

  • Ruby 3.2.2
  • PostgreSQL
  • Redis
  • Node.js & Yarn

Step by Step Setup

  1. Make sure Ruby is installed:
ruby -v
  1. Clone the project:
git clone https://github.com/z1mow/CampusConnect.git
cd CampusConnect
  1. Install required gems:
bundle install
  1. 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
  1. 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
  1. Webpacker setup:
rails webpacker:install
bin/webpack
  1. Start the server:
rails server

🤝 Contributing

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/new-feature)
  3. Commit your changes (git commit -m 'Add new feature')
  4. Push to the branch (git push origin feature/new-feature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License.

👥 Team

  • Nilüfer Gülçiftçi
  • Nursen Karadayı
  • Övgü Güleç
  • Umut Kılınçkaya
  • Şakir Öğüt

📫 Contact

For any questions or suggestions:

🙏 Acknowledgments

Thanks to everyone who has contributed to this project!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published