Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/klengvinayte/ip_monitor
This is an application that allows you to register and delete IP addresses, as well as check their availability
https://github.com/klengvinayte/ip_monitor
docker-compose rspec ruby sequel sidekiq sinatra
Last synced: 15 days ago
JSON representation
This is an application that allows you to register and delete IP addresses, as well as check their availability
- Host: GitHub
- URL: https://github.com/klengvinayte/ip_monitor
- Owner: klengvinayte
- Created: 2024-07-15T12:31:00.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T10:29:42.000Z (3 months ago)
- Last Synced: 2024-10-09T10:44:48.005Z (about 1 month ago)
- Topics: docker-compose, rspec, ruby, sequel, sidekiq, sinatra
- Language: Ruby
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### IP address availability monitoring system.
This is an application that allows you to register and delete IP addresses, as well as check their availability
**How to run the project with Docker**
```angular2html
docker-compose up --build
```
```angular2html
docker-compose up -d web
```**How to set up the database with Docker**
```angular2html
docker-compose exec web rake db:setup
``````angular2html
docker-compose exec web rake db:migrate
``````angular2html
docker-compose exec web rake db:dump_schema
```**How to set up the TimescaleDB extension**
```angular2html
docker-compose exec db psql -U ${POSTGRES_USER} -d ${POSTGRES_DB}
``````angular2html
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
```**How to run the tests with Docker**
Run the following commands to run the tests:
```angular2html
docker-compose run web rake db:migrate RAILS_ENV=test
``````angular2html
docker-compose run test rspec
```