Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natasha-ct/hello--rails
This is a simple rails project to practice initalizing a rails app and deploying it on rails server
https://github.com/natasha-ct/hello--rails
postgresql-database rails ruby-on-rails
Last synced: 2 days ago
JSON representation
This is a simple rails project to practice initalizing a rails app and deploying it on rails server
- Host: GitHub
- URL: https://github.com/natasha-ct/hello--rails
- Owner: NATASHA-ct
- Created: 2022-10-26T11:51:44.000Z (about 2 years ago)
- Default Branch: develop
- Last Pushed: 2022-10-31T13:59:59.000Z (about 2 years ago)
- Last Synced: 2023-03-08T18:42:59.625Z (over 1 year ago)
- Topics: postgresql-database, rails, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 44.9 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```sh
$ 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 UpIf 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.gitNavigate 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
## Authors
👤 **Natasha Tatenda Chirombe**- GitHub: [@NATASHA-ct]((https://github.com/NATASHA-ct)
- Twitter: [@NatashaChirombe]
- LinkedIn: [Natasha Chirombe](linkedin.com/in/natasha-chirombe-1531aa17b)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
-Hat tip to all documentations used
-Inspiration## 📝 License
This project is [MIT](./MIT.md) licensed.