This project consists of building a social media website.
Explore the docs »
Report Bug
·
Request Feature
- Ruby On Rails
- VSCode
- Rubocop
- Sticker
- Github Actions
- Postgresql
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:simandebvu/private-events.git
- Clone with HTTPS
https://github.com/ricardo123321/Social-media-website.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
** 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
There are no Automated Test for this project yet
👤 Shingirayi Mandebvu
- Github: @simandebvu
- Twitter: @simandebvu
- Linkedin: linkedin
👤 Ricardo Vera
- Github: @ricardo123321
- Twitter: @ricardo123321
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
This project is MIT licensed.