Coolpics!
Coolpics is an open source platform for creating photo-sharing site that allows its users to share pictures on the app, as well as through a variety of other social networking platforms, such as Facebook, Twitter, Tumblr, and etc. It's like 9gag.com :)
Tech Stack
- Ruby 2.7.1
- Ruby on Rails 6.0.3
- PostgreSQL 9.5
- jQuery
- Twitter Bootstrap 3
- Gem:
- devise | Authentication
- pg | PostgreSQL library for Ruby
- carrierwave | Image upload management
Installation
Requirements
Before you get started, the following needs to be installed:
- Ruby. Version 2.7.1 is currently used and we don't guarantee everything works with other versions. If you need multiple versions of Ruby, rbenv is recommended.
- RubyGems
- Bundler:
gem install bundler - Git
- A database. Only PostgreSQL 9.5 has been tested, so we give no guarantees that other databases (e.g. MySQL) work. If you're using OS X and have Homebrew installed, install it with
brew install postgresql - Redis. Version 4.0.9 has been used successfully, but newer versions should work as well. If you're using OS X and have Homebrew installed, install it with
brew install redis - [elasticsearch] (https://www.elastic.co/products/elasticsearch). If you're using OS X and have Homebrew installed, install it with
brew install elasticsearch - Imagemagick. If you're using OS X and have Homebrew installed, install it with
brew install imagemagick
Setting up the development environment
- Get the code. Clone this git repository:
git clone git://github.com/omkz/coolpics.git
cd coolpics- Install the required gems by running the following command in the project root directory:
bundle install- Create and initialize the database:
bundle exec rake db:migrate- Start the development server:
rails sSetting up the development environment using Docker (BETA)
Our docker implementation is incomplete and may not work smoothly. Please kindly report any issues and any contribution is welcomed!
- Install
dockeranddocker-compose git clone git@github.com:omkz/coolpics.git- run
docker-compose build - run
docker-compose run web rails db:setup - run
docker-compose up - That's it! Navigate to
localhost:3000
If you want to contribute
The best way to contribute is to do one of the following :
- Creating tests
- Refactoring
- Coding features
- Correcting logged issues
- Correcting my English! (I'm an Indonesian, so don't hesitate to fix my sentences or whole paragraphs.)
License
Coolpics is open source under the MIT license. See LICENSE for details.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

