Coder Social home page Coder Social logo

natasha-ct / hello--rails Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 46 KB

This is a simple rails project to practice initalizing a rails app and deploying it on rails server

Ruby 70.42% JavaScript 0.20% CSS 2.26% HTML 17.69% Batchfile 9.43%
postgresql-database rails ruby-on-rails

hello--rails's Introduction

HELLO RAILS

This is a simple rails project to practice initalizing a rails app and deploying it on rails server

  • Create a new app called 'hellorails'.
  • Initialize your project with Git.
  • Make sure that your project has Postgres database set up.
  • Run rails server and visit http://localhost:3000/ in your browser!

Built With

  • Ruby
  • Rails
  • Postgresql

Prerequisites

  • A Command Line Interface.
  • Having Ruby installed.
  • Setup Rails
  • Postgresql
  • A code editor like Visual Studio Clone.
  • Git installed.

To check if you have Git, Postgres and Ruby installed you can use the commands below:

  $ git --version
  $ ruby --version && irb

If you don't have Ruby, you can find a complete list of ways to install Ruby, including using third-party tools like rvm, see:

(https://www.ruby-lang.org/en/downloads/)

๐Ÿ›  Installation & Set Up

If you installed git you can clone the code to your machine, or download a ZIP of all the files directly.


- Open the [Repository Link](https://github.com/NATASHA-ct/HELLO--RAILS.git) of this project in GitHub.

- Once the files are on your machine, open capstone-ruby folder in [Visual Studio Code](https://code.visualstudio.com/).

## Getting Started
-To get a local copy up and running follow these simple example steps.

### Install
 Start by cloning the repository.
 
- https://github.com/NATASHA-ct/HELLO--RAILS.git

  Navigate to the created folder.

- Initialize your project with Git.
- Make sure that your project has Postgres database set up.
- Run rails server and visi thttp://127.0.0.1:3000/ in your browser!

### Usage
--Once you have your repository cloned on your machine, feel free to modify it as needed.
- To add your own page

  ### run the following in your terminal:
  - gem install rails
  - gem install pg
  - bundle install (use this whenever you want add a gem in your gem file)
  - rails new . --database=postgresql
  - rails db:create
  - rails generate controller **foldername filename*8
  - rails generate model

Quick view of the project

Screenshot 2022-10-26 151428

Screenshot 2022-10-26 152653

Authors

๐Ÿ‘ค Natasha Tatenda Chirombe

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a โญ๏ธ if you like this project!

Acknowledgments

-Hat tip to all documentations used -Inspiration

๐Ÿ“ License

This project is MIT licensed.

hello--rails's People

Contributors

natasha-ct avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.