/tropy

Tropy as a Service: A simple Yuki's Tropy clone

Primary LanguageRubyMIT LicenseMIT

Tropy on Rails

A simple Yuki's Tropy clone built on vanilla Ruby on Rails 7.

Live Demo

https://tropy.aquahill.net

Setup

git clone --depth=1 https://github.com/ryochin/tropy.git
cd tropy/

for development: running on local machine

bundle config set --local path vendor/bundle
bundle config set --local without production

bundle install
bin/rails db:migrate
bin/rails db:seed    # when first run
bin/rails s

open http://localhost:3000

The entries are to be stored at db/development.sqlite3.

for production: running on Docker

export RAILS_ENV=production

docker-compose build
docker-compose up -d
docker-compose exec rails bin/rails db:migrate
docker-compose exec rails bin/rails db:seed    # when first run

open http://localhost:3000

License

The MIT License