https://github.com/klengvinayte/askme
An application where you can ask questions and get answers
https://github.com/klengvinayte/askme
ruby ruby-on-rails
Last synced: 2 months ago
JSON representation
An application where you can ask questions and get answers
- Host: GitHub
- URL: https://github.com/klengvinayte/askme
- Owner: klengvinayte
- Created: 2022-12-08T18:59:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T18:57:41.000Z (over 3 years ago)
- Last Synced: 2025-03-24T00:27:46.075Z (over 1 year ago)
- Topics: ruby, ruby-on-rails
- Language: Ruby
- Homepage: https://danceag.com/
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AskMe
Ruby on Rails AskMe. An application where you can ask questions and get answers.
* Ruby version: 3.1.2
* Ruby on Rails version: 7.0.4
* Database adapter: SQLite3
Before starting, run:
```
$ bundle
```
Then run the commands:
```
$ rails db:migrate
```
Run app:
```
$ rails s
```
### Database in production
In the `production` environment, you must specify the database login and password in the environment variables `PG_DATABASE`, `PG_USER` and `PG_RASSWORD` or specify explicitly in `.env`
```
production:
adapter: postgresql
user: <%= ENV['PG_USER'] %>
password: <%= ENV['PG_RASSWORD'] %>
database: <%= ENV['PG_DATABASE'] %>
```