memair / memair-ihealth

An app that imports iHealth data into Memair

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

DB setup

Dev

CREATE DATABASE memair_ihealth_development;
CREATE USER memair_ihealth_development WITH PASSWORD 'password';
ALTER USER memair_ihealth_development WITH SUPERUSER;
GRANT ALL PRIVILEGES ON DATABASE "memair_ihealth_development" to memair_ihealth_development;

Test

CREATE DATABASE memair_ihealth_test;
CREATE USER memair_ihealth_test WITH PASSWORD 'password';
ALTER USER memair_ihealth_test WITH SUPERUSER;
GRANT ALL PRIVILEGES ON DATABASE "memair_ihealth_test" to memair_ihealth_test;

db restarting

bundle exec rake db:drop RAILS_ENV=development bundle exec rake db:create RAILS_ENV=development bundle exec rake db:migrate RAILS_ENV=development

About

An app that imports iHealth data into Memair

License:MIT License


Languages

Language:Ruby 81.7%Language:HTML 13.1%Language:CSS 3.0%Language:JavaScript 2.2%