{"id":21003337,"url":"https://github.com/koding/kdsleepmode","last_synced_at":"2026-03-17T17:06:28.856Z","repository":{"id":30517143,"uuid":"34071617","full_name":"koding/kdsleepmode","owner":"koding","description":"This is what's shown when a Koding VM is unavailable.","archived":false,"fork":false,"pushed_at":"2015-04-27T07:47:33.000Z","size":247,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-20T10:11:30.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-16T17:57:17.000Z","updated_at":"2018-11-21T20:25:07.000Z","dependencies_parsed_at":"2022-07-24T16:47:16.517Z","dependency_job_id":null,"html_url":"https://github.com/koding/kdsleepmode","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/koding%2Fkdsleepmode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koding%2Fkdsleepmode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koding%2Fkdsleepmode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koding%2Fkdsleepmode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koding","download_url":"https://codeload.github.com/koding/kdsleepmode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243419128,"owners_count":20287806,"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-11-19T08:24:53.014Z","updated_at":"2025-12-26T17:36:44.394Z","avatar_url":"https://github.com/koding.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oh no, VM is asleep!\n\nThis is what's shown when a Koding VM is unavailable.\n\n## Structure\n\nThe `master` branch holds the source code to the project.\nThe `production` branch is where everything is pushed once a build is finished.\n\n### Master\n\nThe `core` folder holds all the sources and assets of the project.\n* `assets` - has a `css` folder that contains all the CSS assets, an `img` folder with all the image assets, a `js` folder that contains all the JavaScript assets.\n* `coffee` - contains the main JavaScript source code written in CoffeScript.\n* `sass` - contains the main CSS source code written in Sass. This also includes the code for RWD.\n* `template` - contains the main HTML source code. The files in this folder are the ones that **should** be modified **NOT** the index.html file.\n\n### Production\n\nThe result of the build and deploy process is stored here.\n\n## Build process\n\nFirst make sure you run the bellow command to install all dependencies:\n\n```\nnpm install\n```\n\nThis project uses Grunt and some Grunt packages for the build process.\nTo issue a build command just open a Terminal in the folder and type:\n\n```\ngrunt\n```\n\nThis will build the whole project.\n\nIf the project is beeing improved or modified, then it is recommended to use the \n\n```\ngrunt watch\n```\n\ncommand. This will monitor the whole project for any modifications and issue a build command when a file modification has been made.\n\nTo preview your changes you can use the `./helper` script. You have 4 options for this script.\n\n* `./helper init` - to set up the push project. This should be run only once, when the project has been started.\n* `./helper preview` - will start a small Python server that will serve the project so it can be previewed. The preview URL is using port `:8000` (eg. your_koding_vm.koding.io:8000)\n* `./helper build` - to build the project (has the same effect as the `grunt` command).\n* `./helper deploy` - to deploy the project to the production branch.\n\n## Push to production\n\n* Make the modification to the project and run `./helper build`.\n* Run `./helper deploy` to deploy to the production branch.\n* SSH into the Blog Box and run the bellow commands.\n\n```\ncd /var/www/kdsleepmode\ngit pull\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoding%2Fkdsleepmode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoding%2Fkdsleepmode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoding%2Fkdsleepmode/lists"}