This is a simple application created to demonstrate the capabilities of yaframework.
- Read fun facts about cats
- That's all
- Built with
Yaframework - Using
Boostrapfor styles Mongoidas ODMMongoDBas DB
Clone this repository:
git clone git@github.com:maxbarsukov/catfacts-yaframework.git
Run bundle install
Setup database:
mongo
use catfactsSetup 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/