{"id":16185510,"url":"https://github.com/patrickhulce/webapp-python-generator","last_synced_at":"2025-04-07T13:15:35.246Z","repository":{"id":16378696,"uuid":"19129149","full_name":"patrickhulce/webapp-python-generator","owner":"patrickhulce","description":"Web app generator for yeoman.","archived":false,"fork":false,"pushed_at":"2015-03-01T03:10:26.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T00:51:08.600Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickhulce.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":"2014-04-25T00:46:14.000Z","updated_at":"2015-03-29T18:18:16.000Z","dependencies_parsed_at":"2022-09-22T13:13:10.508Z","dependency_job_id":null,"html_url":"https://github.com/patrickhulce/webapp-python-generator","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/patrickhulce%2Fwebapp-python-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fwebapp-python-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fwebapp-python-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fwebapp-python-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickhulce","download_url":"https://codeload.github.com/patrickhulce/webapp-python-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657267,"owners_count":20974345,"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-10T07:14:28.304Z","updated_at":"2025-04-07T13:15:35.216Z","avatar_url":"https://github.com/patrickhulce.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-webapp\n\n\u003e [Yeoman](http://yeoman.io) generator\n\n\n## Getting Started\n\n```\n$ npm install -g yo\n```\n\n### Yeoman Generators\n\nYeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.\n\nTo install generator-webapp from npm, run:\n\n```\n$ npm install -g git://github.com/patrickhulce/webapp-generator.git\n```\n\nFinally, initiate the generator:\n\n```\n$ yo webapp\n```\n\n### Getting To Know Yeoman\n\nYeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.\n\nIf you'd like to get to know Yeoman better and meet some of his friends, [Grunt](http://gruntjs.com) and [Bower](http://bower.io), check out the complete [Getting Started Guide](https://github.com/yeoman/yeoman/wiki/Getting-Started).\n\n\n## About This Generator\n\nScaffolds a web application with\n\n- jQuery\n- Bootstrap\n- FontAwesome\n- Angular (and various ng-* packages)\n- lodash\n\nPython option adds\n\n- Flask\n- Gunicorn\n- Vagrantfile\n    - Ubuntu (Precise)\n    - nginx\n    - MySQL\n    - redis\n\n### Intended Usage\n\nThe intended usage is to offer a complete deployment solution from the start. This package assumes two primary modes of deployment: static or python.\n\n\n#### Static Deployment\n\nIf the python option is not enabled, the assumption is that the site (or at least the repository) will be entirely static.\nIn this case, the `grunt run` command will use the `grunt-contrib-connect` server for hosting the site during development.\nDeployment during production will simply be hosting the `www-root` folder after a `grunt build` on the target server.\n\n#### Python Deployment\n\nIf the python option is enabled, the assumption is that the site's static files will be hosted through nginx and the app itself will be hosted through Gunicorn proxy behind nginx.\nIn this case, the Vagrantfile describes the Ubuntu configuration with a configured nginx server that points back to the host machine for the gunicorn app.\nThis way all commands can easily be performed on the host machine without interacting with the guest at all. Ports 80, 3306, and 6379 are forwarded to the host.\nTo the application, there is no difference running in this environment compared to production as localhost can still be referenced.\nIn this scenario, `grunt` will build the files in the `www-root` directory (which nginx references through a shared Vagrant folder) and start gunicorn (which nginx references through proxy).\nDeployment during production will simply be changing the corresponding lines in the nginx.conf after a grunt build on the target server and starting up gunicorn.\n\n\n#### Commonalities\n\nAs a result of this structure, regardless of the method of deployment used, the application is always available at localhost:8080 during development and is easily deployed to production.\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickhulce%2Fwebapp-python-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickhulce%2Fwebapp-python-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickhulce%2Fwebapp-python-generator/lists"}