Skip to content

Commit

Permalink
docs:README
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarMWarraich committed Jul 31, 2024
1 parent c3b825b commit 46c927c
Show file tree
Hide file tree
Showing 7 changed files with 189 additions and 13 deletions.
20 changes: 20 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2024 OmarMWarraich

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
182 changes: 169 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,180 @@
# README
<!-- TABLE OF CONTENTS -->

This README would normally document whatever steps are necessary to get the
application up and running.
# 📗 Table of Contents

Things you may want to cover:
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [🚀 Live Demo](#live-demo)
- [💻 Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#triangular_flag_on_post-deployment)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [❓ FAQ](#faq)
- [📝 License](#license)

* Ruby version
<!-- PROJECT DESCRIPTION -->

* System dependencies
# 📖 [Artsmith] <a name="about-project"></a>

* Configuration
## Project Description

* Database creation
Artsmith is a web application that allows users to generate art using a generative AI model. Users can create an account, purchase credits, and use those credits to generate art. The application also allows users to view their generated art and download it. The application is built using Ruby on Rails and integrates a generative AI model to generate art. The application also uses Stripe as a payment gateway to allow users to purchase credits. The generative AI model used in the application is StableDiffusion and both the model and the application are deployed on EC2 instances on AWS.

* Database initialization
## 🖼 App Screenshot

* How to run the test suite
<div style="display: flex; flex-wrap: wrap; gap: 10px;">
<img src="snap1.png" alt="screenshot" style="flex: 1 1 calc(20% - 10px); max-width: calc(20% - 10px);">
<img src="snap2.png" alt="screenshot" style="flex: 1 1 calc(20% - 10px); max-width: calc(20% - 10px);">
<img src="snap3.png" alt="screenshot" style="flex: 1 1 calc(20% - 10px); max-width: calc(20% - 10px);">
<img src="snap4.png" alt="screenshot" style="flex: 1 1 calc(20% - 10px); max-width: calc(20% - 10px);">
<img src="snap5.png" alt="screenshot" style="flex: 1 1 calc(20% - 10px); max-width: calc(20% - 10px);">
</div>

* Services (job queues, cache servers, search engines, etc.)
## 🛠 Built With <a name="built-with"></a>

* Deployment instructions
### Tech Stack <a name="tech-stack"></a>

* ...
<details>
<summary>Client</summary>
<ul>
<li><a href="https://rubyonrails.org/">RoR</a></li>
</ul>
</details>

<details>
<summary>Server</summary>
<ul>
<li><a href="https://rubyonrails.org/">Ruby on Rails</a></li>
</ul>
</details>

<details>
<summary>Database</summary>
<ul>
<li><a href="https://www.postgresql.org/">PostgreSQL</a></li>
</ul>
</details>

<!-- Features -->

### Key Features <a name="key-features"></a>

- **Generative AI Model Integration**
- **Custom User Authentication**
- **Stripe Payment Gateway**
- **Responsive Design**
- **Cloud Deployment Mastery**

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- LIVE DEMO -->

## 🚀 Live Demo <a name="live-demo"></a>

- Due to the expensive nature of a compute intensive generative model, we are unable to provide a live demo at this time. However, the link to the video demo is available below.

[Live Demo](https://youtu.be/HcN2TQhVp0Y)

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- GETTING STARTED -->

## 💻 Getting Started <a name="getting-started"></a>

To get a local copy up and running, follow these steps.

### Prerequisites

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

- Have a computer and internet connection
- Have `Ruby` installed on your computer
- Have a basic knowledge of `Ruby` and `OOP` concept
- Have a general understanding of what testing is
- Have `visual-studio code` or any other code editor installed on your computer.

### Setup

- In order to get a copy of this project you need to download it from https://github.com/OmarMWarraich/ror-gen-ai.git
- Extract the zipped file and open it in your code editor

### Install

- Run the command bellow in your terminal to get all required files

```
bundle install
yarn
```

### Run Server

- Run the command bellow in your terminal
bin/dev

### Run tests

you can run one of the following command in your terminal

1. Run testing

```Ruby
rspec spec
```

2. Run linters

```Ruby
> Rubocop --color
> Rubocop -A
```

## Author

👤 **Omar Warraich**

- GitHub: [@Omar Warraich](https://github.com/OmarMWarraich)
- Twitter: [@omarwarraich1](https://twitter.com/omarwarraich1)
- LinkedIn: [o-va](https://www.linkedin.com/in/o-va/)

## 🔭 Future Features

- Add Image to Image Generation

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/OmarMWarraich/ror-gen-ai.git/issues/).

## Show your support

Give a ⭐️ if you like this project!

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- ACKNOWLEDGEMENTS -->

## 🙏 Acknowledgments <a name="acknowledgements"></a>

I would like to thank Phil Smy for his guidance and support throughout the project.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## 📝 License

This project is [MIT](LICENSE) licensed.
Binary file added snap1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snap2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snap3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snap4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snap5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 46c927c

Please sign in to comment.