This is a simple application created to demonstrate the capabilities of yaframework.
- Read fun facts about cats
- That's all
- Built with
Yaframework
- Using
Boostrap
for styles Mongoid
as ODMMongoDB
as DB
Clone this repository:
git clone [email protected]:maxbarsukov/catfacts-yaframework.git
Run bundle install
Setup database:
mongo
use catfacts
Setup seeds:
ruby db/seeds.rb
Dev: rake start
and open http://localhost:9393/
Production:
mongod --dbpath db/
puma -e production -t 16:16 config.ru
and open http://localhost:9292/