{"id":19457990,"url":"https://github.com/slissner/meteor-deploy","last_synced_at":"2025-07-07T19:11:02.225Z","repository":{"id":255164432,"uuid":"62385787","full_name":"slissner/meteor-deploy","owner":"slissner","description":"Scripts to manually deploy meteor.js","archived":false,"fork":false,"pushed_at":"2017-02-24T09:53:41.000Z","size":17,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-03T17:22:32.470Z","etag":null,"topics":["deployment","meteor","mongo"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/slissner.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-01T10:36:55.000Z","updated_at":"2023-02-02T09:24:47.000Z","dependencies_parsed_at":"2024-08-28T11:54:39.729Z","dependency_job_id":null,"html_url":"https://github.com/slissner/meteor-deploy","commit_stats":null,"previous_names":["slissner/meteor-deploy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slissner%2Fmeteor-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slissner%2Fmeteor-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slissner%2Fmeteor-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slissner%2Fmeteor-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slissner","download_url":"https://codeload.github.com/slissner/meteor-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250760846,"owners_count":21482877,"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":["deployment","meteor","mongo"],"created_at":"2024-11-10T17:24:56.617Z","updated_at":"2025-04-25T05:31:28.237Z","avatar_url":"https://github.com/slissner.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meteor deploy\n\n## Purpose\n\nTired of Galaxy, Meteor Up, you name them?\n\nTry to deploy youself with this little shell scripts! Browse to the `sh` folder to find the scripts.\n\n## Known issues\n\n### Fibers errors\n\nSee http://stackoverflow.com/a/13327111/3757139\n\n### If npm packages are missing\n\n    cd programs/server          # Go to app folder and do\n    npm install\n\n### Switch node versions\n\nUse \"n\" node version manager, see [ask ubuntu](http://askubuntu.com/a/480642):\n\n    sudo n 0.10.41 # uses \"n\" node version manager\n    sudo ln -sf /usr/local/n/versions/node/0.10.41/bin/node /usr/bin/node # creat symlink\n\n## Further set up\n\n### Nginx\n\nSee this [tutorial](https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx)\n\n#### Install\n\n    sudo apt-get update\n    sudo apt-get intsall nginx\n\n\n#### Configuration\n\nCreate virtual host for your app:\n\n    sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/my-app # on the server, create virtual host\n    sudo vi my-app\n\nEdit virtual host configurations:\n\n    @ change \"listen 80\" to \"listen 3000\"  # also in the subsequent line\n    @ change \"server_name localhost\" to \"server_name app.myhost.com\" # and/or: change subdomain or domain name\n    @ :wq! # save changes\n\nCreate virtual link:\n\n    sudo ln -s /etc/nginx/sites-available/billy-chat /etc/nginx/sites-enabled/billy-chat # enable site via link\n\nTest if server is running:\n\n    sudo nginx -t # test if nginx is running successfully\n\nIf conflicting server name error appears, remove default:\n\n    sudo rm /etc/nginx/sites-enabled/default\n\n#### Start\n\n    sudo service nginx restart # restart ngninx\n\nTest if nginx is running on your port 3000 (or your host name):\n\n    http://myhostname:3000/\n\n### MongoDb\n\n#### Install\n\nSee official [docs](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/).\n\n    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927\n    echo \"deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse\" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list\n    sudo apt-get update\n    sudo apt-get install -y mongodb-org\n\n#### Start\n\nStart mongo service\n\n    sudo service mongod start\n    vi /var/log/mongodb/mongod.log # just to see if runs correctly. Last line shall be: [initandlisten] waiting for connections on port 27017\n\n#### Configure\n\nConfigure mongo, if you want:\n\n    sudo vi /etc/mongod.conf\n\n#### Files\n\nMongo files, to be found under:\n\n    /var/lib/mongodb # data files\n    /var/log/mongodb # logs\n    /etc/mongod.conf # config\n    /etc/init.d/mongod # The mongodb-org package includes various init scripts, including the init script /etc/init.d/mongod. You can use these scripts to stop, start, and restart daemon processes.\n\n#### Create Database\n\nTo create database: (See [Mongo manual](http://www.tutorialspoint.com/mongodb/mongodb_create_database.htm))\n\n    \u003euse billy-chat\n    \u003edb # see curent database\n    \u003eshow dbs # see list of databases, ours is missing\n    \u003edb.test.insert({\"test\":\"data\"}) # insert some data\n    \u003eshow dbs # see list of databases, ours is shown\n    \u003eexit\n\n#### Errors\n\nIf you run in the following error:\n\n    Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly.\n\nDo the following [steps](http://blog.knazsky.com/post/109391934452/mongo-and-ubuntu-problem-with-locale-settings).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslissner%2Fmeteor-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslissner%2Fmeteor-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslissner%2Fmeteor-deploy/lists"}