https://github.com/watson1978/shortly
https://github.com/watson1978/shortly
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/watson1978/shortly
- Owner: Watson1978
- Created: 2023-09-14T09:51:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T23:37:00.000Z (almost 3 years ago)
- Last Synced: 2024-12-28T12:48:11.509Z (over 1 year ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# install
```
brew install cql cassandra cassandra-cpp-driver
```
# 準備
```
CREATE TABLE IF NOT EXISTS ilios.shortly (
id text,
url text,
PRIMARY KEY (id)
) WITH compaction = { 'class' : 'LeveledCompactionStrategy' }
AND gc_grace_seconds = 691200;
```
# 起動
```
ruby shortly.rb
```