/aweb

Twitter clone where you can create posts and follow other users.

Primary LanguageRubyMIT LicenseMIT

Aweb

Project for creating database relations between users using layout design from Layout Design

Screenshot

Screenshot of the webpage

Getting Started

Clone the repository into your local computer.

Prerequisites

Ruby, '2.6.4'

Ruby on Rails, '~> 6.0.2', '>= 6.0.2.1'

Setup

Instal gems with:

bundle install

Setup database with:

   rails db:create
   rails db:migrate
   rails db:seed

Usage

Start server with:

    rails server

Open http://localhost:3000/ in your browser.

Running the tests

Tests are ran with the command on the console in the project root directory:

Rspec --format document

Deployment

In order to deploy it to Heroku, then one the console in root directory of the project run commands in order shown below (current branch needs to be master):

heroku apps:create <app-name>

git add .
git commit -m "Deploy to Heroku"
git push heroku master

heroku run rails db:migrate
heroku open

Built With

Authors

👤 Jaak Kivinukk

Screenshot Image

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments