Skip to content

SthuthiS54/Code_Debug_Q1_BTSC

Repository files navigation

IE CODE DEBUG: Question 1

MAX POINTS: 50

Table of Contents

Installation

Using Github CodeSpaces(preferred) :

  1. Navigate to your forked repository on GitHub.

  2. Click the "Code" button.

  3. Select the "Codespaces" tab.

  4. Click on "Create codespace on main" (or the branch you want to work on). Once the Codespace is created, it will automatically open in a web-based VS Code environment. Wait for the Codespace to fully start.

  5. Install Rails Run the following command to install Rails:

    gem install rails
    
  6. Install Dependencies Run the following command to install the required gems using Bundler:

    bundle install
    
  7. Ensure you are using the right ruby version.

  8. Run the Server Start the Rails server by running:

    rails s
    
  9. Open the Web App The Rails server typically runs on port 3000. In the Codespace, click on the "Ports" tab to find the forwarded port (usually port 3000). Click on the URL provided to open web app in the browser.

Local Computer

Follow these steps to set up the project locally:

  1. Install Rails Download and install Rails from RailsInstaller.

  2. Install Ruby Download and install the latest version of Ruby from RubyInstaller.

  3. Install Dependencies

  4. Install Rails Gem:
    Open Command Prompt and run the following command to install Rails::

    gem install rails
    
  5. Clone the forked repository

  6. Navigate to the cloned repository directory.

  7. Install Bundler and Dependencies: Install Bundler if it is not already installed:

    gem install bundler
    
  8. Install the required gems using Bundler:

    bundle install
    
  9. Ensure you are using the right ruby version.

  10. Run the Rails Server

    rails s
  11. Open the Web App: Open your web browser and navigate to http://localhost:3000/ to view the website.

Features

  • This is a basic buddy app designed to store and retrieve user friends.
  • Users can log in and add any other user as their buddy.
  • Users are authenticated using their email and password.
  • Users can edit their profiles.
  • Each user can view only their friends list.

Bugs

  • Users are currently unable to log out once logged in.

References

Important:

  • Create a fork of the repository with the format: <TeamName_Code_Debug_Q1_BTSC>.
  • Ensure that you commit your changes before the deadline, otherwise it will not be considered.
  • Before submitting, check whether all your commits have been updated.

ALL THE BEST👍

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published