/RoR-capstone

A social media website made with ruby

Primary LanguageRuby

RoR Capstone


Logo

Social Media

This project consists of building a social media website.
Explore the docs »

Report Bug · Request Feature

Built With

  • Ruby On Rails
  • VSCode
  • Rubocop
  • Sticker
  • Github Actions
  • Postgresql

Live Demo

Live Demo Link

Usage

To have this app on your pc, you need to:

  • have Ruby & Ruby on Rails installed in your computer
  • download or clone this repo:
    • Clone with SSH:
      git@github.com:ricardo123321/RoR-capstone.git
    
    • Clone with HTTPS
      https://github.com/ricardo123321/RoR-capstone.git
    
  • and open the terminal inside the repo and run the bundler
    • $ bundler install --without production
  • then, run rails db:migrate. This creates the database with the corresponding tables, columns and associations
    • $ rails db:migrate
  • then, run rails s. This will start the server at localhost http://127.0.0.1:3000/
    • $ rails s
  • and finally, you can test it in the console by running
    • $ rails console --sandbox

      IMPORTANT

** We used the Figaro gem to store credentials for use with POSTGRES. Therefore, we used SECRET KEYS stored in environment variables on our development and production servers.**

  • So if you have postgres credentials create a file an application.yml file inside config/ and put this your credentials in it like showing bellow:
DB_USERNAME: your_postgres_username
DB_PASSWORD: your_postgres_password

Automated Test

There are no Automated Test for this project yet

Author

👤 Ricardo Vera

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.