{"id":19542310,"url":"https://github.com/ruffrey/paastor","last_synced_at":"2025-04-26T17:31:13.266Z","repository":{"id":35270619,"uuid":"39531200","full_name":"ruffrey/paastor","owner":"ruffrey","description":"open source deployment platform for node.js, mongo and redis formerly paastor.com","archived":false,"fork":false,"pushed_at":"2015-07-23T01:43:48.000Z","size":444,"stargazers_count":17,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T16:41:46.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"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/ruffrey.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-07-22T21:27:42.000Z","updated_at":"2017-08-09T20:52:38.000Z","dependencies_parsed_at":"2022-09-06T15:01:03.466Z","dependency_job_id":null,"html_url":"https://github.com/ruffrey/paastor","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/ruffrey%2Fpaastor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruffrey%2Fpaastor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruffrey%2Fpaastor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruffrey%2Fpaastor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruffrey","download_url":"https://codeload.github.com/ruffrey/paastor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251025709,"owners_count":21524844,"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-11T03:14:07.500Z","updated_at":"2025-04-26T17:31:12.183Z","avatar_url":"https://github.com/ruffrey.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **paastor**\n\n*A hostable gui for deployment management of Node.js, MongoDB, and Redis apps on Ubuntu servers.*\n\n**Formerly paastor.com**, this project was open sourced and the website\nwas shutdown because I do not have time to maintain it. Apologies to\nthe users.\n\n# **sheep**\n\n*A proxy and api for running node apps on a slave VPS.*\n\n## How it works\n\n![diagram of paastor setup](https://raw.githubusercontent.com/paastor/paastor/master/paastor-server/public/diagram.png)\n\n### Managing servers via gui\n\n![screenshot of paastor gui](https://raw.githubusercontent.com/paastor/paastor/master/paastor-server/public/dash.png)\n\n### Deploy with the command line tool\n\n```\npstr push my-server myapp\n```\n\n## Development and Running Locally\n\nrequirements:\n\n* node.js\n* mongodb\n* gulp\n\ninstalling:\n\n    git clone https://github.com/ruffrey/paastor\n    cd paastor \u0026\u0026 npm install\n    cd sheep \u0026\u0026 npm install\n\nsheep is an express app inside the paastor directory, hence the double npm install.\n\nrunning:\n\n    npm start\n\nor\n\n    npm run debug-start\n\nAlso\n\n    gulp\n\nwill watch and perform tasks like recompiling jade and client JS.\n\n\n## Default Server Locations\n\n* *paastor* is at `localhost:2999`\n* *sheep proxy* is at `localhost:3001` in development and `localhost:80` in production\n* *sheep api* is at `localhost:3000`\n\n## Default Services\n\nInstall mongodb and redis via gui.\n\n## Security\n\n* header `Paastor-Secret` is sent during paastor --\u003e sheep api communications.\n    * secret is stored **hashed and salted** on sheep, by sheep, inside `system.json`.\n    * secret is stored in paastor database under the `Vps.secret` property\n    * YOU set the secret when creating a Vps\n    * To tell **sheep** to reset and hash the secret, start the instance with an environment variable `HASH_RESET=` and your new secret. `cd /path/to/sheep \u0026\u0026 HASH_RESET=asdfpassword npm start`\n\n\n## System Settings\n* `email` Login email address.\n* `name` System informational name.\n* `password` Hashed login password.\n* `sshkey` Generated from the paastor gui. System public ssh key - add this to your git repos.\n\n\n## Tests\n\nFirst add a vps for testing at `spec/vps-credentials.json` and set up paastor (http://localhost:2999/), then add paastor credentials at `spec/paastor-credentials.json`.\n\nAn example file is at `spec/vps-credentials.json.example`.\n\n##### Running the Tests\n\n    npm test\n\nIf you have problems, try\n\n    npm run debug-test\n\nfor more verbose output.\n\nIf tests fail, you might end up with node processes that have gone rogue. Find them and stop them:\n\n    ps -l | grep node\n\n    kill [pid goes here]\n\n![find-and-kill](http://i.imgur.com/ZawnSMg.png)\n\n\n## Deploying sheep to the static site\n\nFrom the root directory of `paastor`:\n\n    ./pack\n\nwill do it.\n\n# License\n\nMIT - see LICENSE file in this repository\n\nCopyright 2015 Jeff H. Parrish\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruffrey%2Fpaastor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruffrey%2Fpaastor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruffrey%2Fpaastor/lists"}