{"id":19024182,"url":"https://github.com/raykitajima/rutile_kickstart","last_synced_at":"2026-06-19T04:32:02.348Z","repository":{"id":12749232,"uuid":"15422405","full_name":"RayKitajima/rutile_kickstart","owner":"RayKitajima","description":"Rutile kick start examples","archived":false,"fork":false,"pushed_at":"2014-07-23T09:04:35.000Z","size":923,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-01T08:00:05.751Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RayKitajima.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-24T17:19:16.000Z","updated_at":"2014-07-23T09:04:35.000Z","dependencies_parsed_at":"2022-09-10T20:01:39.829Z","dependency_job_id":null,"html_url":"https://github.com/RayKitajima/rutile_kickstart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RayKitajima/rutile_kickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayKitajima%2Frutile_kickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayKitajima%2Frutile_kickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayKitajima%2Frutile_kickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayKitajima%2Frutile_kickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RayKitajima","download_url":"https://codeload.github.com/RayKitajima/rutile_kickstart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayKitajima%2Frutile_kickstart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34517748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T20:35:28.000Z","updated_at":"2026-06-19T04:32:02.328Z","avatar_url":"https://github.com/RayKitajima.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Quick examples for Rutile Kick Start\n\n## Note\n\nThis example presuppose you are in the disposable environment.\nSee the environment setup guide in Rutile.\n\nBefore starting each test, you have to delete object cache in Redis.\n\n```\nrm dump.rdb\n```\n\n## 1st_step\n\nMinmum example.\n\n```\ncd 1st_step/en\n\nrutile md2config ./Config.txt\nrutile generate server ./Config.js\nrutile generate client ./Config.js\nrutile build tiapp ./Config.js\n\ncreatedb product\npsql -f ./Schema/Product.sql -d product\npsql -f ./SampleData/Product.sql -d product\n\nexport NODE_PATH=$NODE_PATH:./DemoShopServer; node ./DemoShopServer/server.js\ntitanium build -p ios -d ./DemoShopApp --retina --sim-64-btin --tall\n```\n\nYou can define preriminary data like as Product2.txt, that is the same thing as ./SampleData/Product.sql.\n\n\n## 2nd_step\n\n2nd_step = 1st_step + aggregation + image\n\nAggregation(aka collection) defined as a entry with prefix *.\nImages are saved as MIME encoded text in the text field.\n\n```\ncd 2nd_step/en\n\nrutile md2config ./Config.txt\nrutile generate server ./Config.js\nrutile generate client ./Config.js\nrutile build tiapp ./Config.js\n\ndropdb product\n\ncreatedb product\n\npsql -f ./Schema/Product.sql -d product\npsql -f ./SampleData/Product.sql -d product\n\nexport NODE_PATH=$NODE_PATH:./DemoShopServer; node ./DemoShopServer/server.js\ntitanium build -p ios -d ./DemoShopApp --retina --sim-64-btin --tall\n```\n\n## 3rd_step\n\n3rd_step = 2nd_step + PostGIS + dblink + injection\n\nRequires PostGIS and dblink.\n\nThis example represents geographical data, cross database search, and code injection for 'cross edit form interaction'.\n\n```\ncd 3rd_step/en\n\nrutile md2config ./Config.txt\nrutile generate server ./Config.js\nrutile generate client ./Config.js\nrutile build tiapp ./Config.js\n\ndropdb product\n\ncreatedb product\necho 'create extension postgis' | psql -d product\n\npsql -f ./Schema/Product.sql -d product\npsql -f ./SampleData/Product.sql -d product\n\ndropdb order\n\ncreatedb order\npsql -f ./Schema/Order.sql -d order\necho 'create extension dblink' | psql -d order\n\nexport NODE_PATH=$NODE_PATH:./DemoShopServer; node ./DemoShopServer/server.js\ntitanium build -p ios -d ./DemoShopApp --retina --sim-64-btin --tall\n```\n\n1. Entity List -\u003e Order\n2. Add a order by right navi button\n3. Add a customer, select date\n4. Add Order Items\n5. Back to the Entity List then go Order Item\n6. Then, search Order Item by ProductClassID, that is defined in the other database.\n\n\n## 4th_step\n\n4th_step = 3rd_step + authentication logic\n\n```\ncd 4th_step/en\n\nrutile md2config ./Config.txt\nrutile generate server ./Config.js\nrutile generate client ./Config.js\nrutile build tiapp ./Config.js\n\ndropdb product\n\ncreatedb product\necho 'create extension postgis' | psql -d product\n\npsql -f ./Schema/Product.sql -d product\npsql -f ./SampleData/Product.sql -d product\n\ndropdb order\n\ncreatedb order\npsql -f ./Schema/Order.sql -d order\necho 'create extension dblink' | psql -d order\n\ndropdb shop\n\ncreatedb shop\npsql -f ./Schema/Shop.sql -d shop\npsql -f ./SampleData/Shop.sql -d shop\n\nexport NODE_PATH=$NODE_PATH:./DemoShopServer; node ./DemoShopServer/server.js\ntitanium build -p ios -d ./DemoShopApp --retina --sim-64-btin --tall\n```\n\n1. Try sign-in by email address and password defined in SampleData/Shop.sql.\n2. Use the app.\n3. After 1min(default token lifetime defined in Config) token will be expired, then appears dialog message.\n5. Singn-in again.\n\n\n## 5th_step\n\n5th_step = 4th_step + slide menu option\n\n```\ncd 5th_step/en\n\n// generate wss connecting client/server\ncp ./Config_wss.txt ./Config.txt\n\n// generate https connecting client/server\ncp ./Config_https.txt ./Config.txt\n\nrutile md2config ./Config.txt\nrutile generate server ./Config.js\nrutile generate client ./Config.js\nrutile build tiapp ./Config.js\n\ndropdb product\n\ncreatedb product\necho 'create extension postgis' | psql -d product\n\npsql -f ./Schema/Product.sql -d product\npsql -f ./SampleData/Product.sql -d product\n\ndropdb order\n\ncreatedb order\npsql -f ./Schema/Order.sql -d order\necho 'create extension dblink' | psql -d order\n\ndropdb shop\n\ncreatedb shop\npsql -f ./Schema/Shop.sql -d shop\npsql -f ./SampleData/Shop.sql -d shop\n\nexport NODE_PATH=$NODE_PATH:./DemoShopServer; node ./DemoShopServer/server.js\ntitanium build -p ios -d ./DemoShopApp --retina --sim-64-btin --tall\n```\n\n## Special thanks\n\nSample image from [food.foto](http://food.foto.ne.jp).\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraykitajima%2Frutile_kickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraykitajima%2Frutile_kickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraykitajima%2Frutile_kickstart/lists"}