{"id":17116472,"url":"https://github.com/dakimura/dietcube_practice","last_synced_at":"2025-03-24T00:52:32.045Z","repository":{"id":137757570,"uuid":"156331627","full_name":"dakimura/dietcube_practice","owner":"dakimura","description":null,"archived":false,"fork":false,"pushed_at":"2018-11-06T05:43:06.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T07:27:02.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/dakimura.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-06T05:40:16.000Z","updated_at":"2018-11-06T05:43:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"33fbc51c-f447-4e93-9d18-11e9ee0e7ef9","html_url":"https://github.com/dakimura/dietcube_practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakimura%2Fdietcube_practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakimura%2Fdietcube_practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakimura%2Fdietcube_practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dakimura%2Fdietcube_practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dakimura","download_url":"https://codeload.github.com/dakimura/dietcube_practice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245191622,"owners_count":20575248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-14T17:48:56.692Z","updated_at":"2025-03-24T00:52:32.024Z","avatar_url":"https://github.com/dakimura.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Project skeleton for Dietcube\n==============================\n\nSetup\n-----\n\nThis package is a project skeleton for Dietcube.\n\n```\ncomposer create-project dietcube/project -s dev your-project\n```\n\n(`your-project` is a sample directory name for the project. Camelized name of the directory is used as your application namespace (e.g. `YourProject\\\\`).\n\n\nConfiguration File\n------------------\n\n```\nedit app/config/config.php\nedit app/config/config_{DIET_ENV}.php\n```\n\nSet debug mode on:\n\n```\n\u003c?php\n\nreturn [\n    'debug' =\u003e true,\n\n    ...\n];\n```\n\nEnvironment\n-----------\n\n`DIET_ENV` is the ENV name.\n\nIf `DIET_ENV` is not set for any environment variable (Dietcube checks `$_SERVER['DIET_ENV']` and `getenv('DIET_ENV')`), `Dispatcher::getEnv()` returns `production` by default.\n\nTypically, `development` is used for development environment so `dietcube-project`'s initialise script generates `app/config/config_development.php` for default development config file.\n\n### Example: Configuration of Web Server\n\nFor example, set `DIET_ENV` as `development`.\n\nApache Conf:\n\n```\nSetEnv DIET_ENV production\n```\n\nNginx Conf (with php-fpm):\n\n```\nfastcgi_param  DIET_ENV production;\n```\n\n### Run with PHP built-in server\n\n```\nDIET_ENV=development php -d variables_order=EGPCS -S 0:8080 -t webroot/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakimura%2Fdietcube_practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdakimura%2Fdietcube_practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakimura%2Fdietcube_practice/lists"}