0.0.1 • Published 8 years ago
modeldata v0.0.1
Pre requisite
Please install yarn and mocha.
npm install -g yarn
npm install -g mocha To run example:
clone the repo, then
bundle install
yarn installRun this only once. It creates the sqlite3 db
cd example
bundle exec rake create_tablesThen run
foreman startThen go to
http://localhost:8181To access backend console
cd example
bundle exec rake consoleTo create sample data, from backend console
Blog.create(name: "blog one", content: "content one")
Blog.create(name: "blog two", content: "content two")0.0.1
8 years ago