yeoman

how to deploy yeoman angular-fullstack project?

不问归期 提交于 2020-01-11 15:31:11
问题 I want to deploy a simple angular projet made with angular fullstack. https://github.com/DaftMonk/generator-angular-fullstack I tried : yo angular-fullstack test grunt build Then, in dist I got 2 folders: server and public. how to deploy them on a linux server ? with forever/node and nginx ??? I want to self host my project. thanks 回答1: 1.) Install nginx 2.) Proxy forward nginx to your node port. See Digital Oceans How-To. nginx.conf server { listen 80; server_name localhost; location / {

Heroku app doesn't get updated after git push heroku master

心已入冬 提交于 2020-01-06 22:26:15
问题 I have made an Angular app with Yeoman and deployed it to heroku. The initial push was fine. I was able to access the website. However, when I made some changes and try to do the git dance: git add . git commit -m "message" git push heroku master the website is not updated with the new changes even though there is no error occurred during the push. In order to check if the changes are actually pushed to heroku, I checked out a new branch and make some changes then commit and run: git add .

IBM MobileFirst Platform and Mobile Angular UI

醉酒当歌 提交于 2020-01-06 14:09:49
问题 I have created an MFP project with the MFP CLI After creating the project, I ran "yo mobileangularui" in the project root to install Mobile Angular UI This scaffolds out a Mobile Angular UI project with AngularJS and Gulp I am minifying all the js and css files, including the MFP javascript files and putting them in the MFP common folder with gulp Everything loads fine when I view it in the MFP console, but not on localhost. My problem is that the sidebars do not work when I click on them. I

IBM MobileFirst Platform and Mobile Angular UI

半腔热情 提交于 2020-01-06 14:08:10
问题 I have created an MFP project with the MFP CLI After creating the project, I ran "yo mobileangularui" in the project root to install Mobile Angular UI This scaffolds out a Mobile Angular UI project with AngularJS and Gulp I am minifying all the js and css files, including the MFP javascript files and putting them in the MFP common folder with gulp Everything loads fine when I view it in the MFP console, but not on localhost. My problem is that the sidebars do not work when I click on them. I

Problems Deploying Yeoman app to Heroku

瘦欲@ 提交于 2020-01-06 04:21:28
问题 I've been trying to deploy my AngularFullstack (node) app to Heroku. I created the app in the terminal with: yo angular-fullstack . Whenever I try to deploy to Heroku I get the following when I go to my deployed app: Application Error An error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application owner, check your logs for details. The logs are: 2015-07-24T06:57:35.184227+00:00 heroku[web.1]: State changed from up to

Problems Deploying Yeoman app to Heroku

落花浮王杯 提交于 2020-01-06 04:21:06
问题 I've been trying to deploy my AngularFullstack (node) app to Heroku. I created the app in the terminal with: yo angular-fullstack . Whenever I try to deploy to Heroku I get the following when I go to my deployed app: Application Error An error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application owner, check your logs for details. The logs are: 2015-07-24T06:57:35.184227+00:00 heroku[web.1]: State changed from up to

Missing modules after generation using Yeoman's generator-angular-fullstack

穿精又带淫゛_ 提交于 2020-01-06 04:17:12
问题 There's a question with almost the same title as mine with no answers here, and I can't comment to see if @Gabriel-Kunkel got anywhere with it. I was going to post an answer, but I saw StackOverflow said to avoid doing that, so asking the same question was the best I could think to do... I'm trying to get a fresh install from the generator-angular-fullstack with these options Grunt Jasmine TypeScript HTML LESS ui-router Bootstrap UI-Bootstrap Mongo Authentication Boilerplate (Yes) No other

Angular scripts missing in Yeoman-Angular generated app

久未见 提交于 2020-01-04 02:54:38
问题 I have generated an app using Yeoman-Angular Generator, but the angular.js and other Angular files are missing from the project. I can see these dependencies in the bower.json file as follows: { "name": "mi-portfolio", "version": "0.0.0", "dependencies": { "angular": "1.2.6", "json3": "~3.2.6", "es5-shim": "~2.1.0", "jquery": "~1.10.2", "bootstrap": "~3.0.3", "angular-cookies": "1.2.6", "angular-sanitize": "1.2.6" }, "devDependencies": { "angular-mocks": "1.2.6", "angular-scenario": "1.2.6" }

Grunt expand files, what patterns are acceptable in src?

匆匆过客 提交于 2020-01-03 19:33:31
问题 Snippet from gruntfile.js sass: { compile: { files: [{ expand: true, cwd: 'css/', src: ['^[^_].scss'], dest: '../css/', ext: '.css' }] } }, This should work according to rubular. Basically I want to compile all .scss files in the 'css' directory, unless they start with an underscore. However, that pattern doesn't match anything? Any ideas? 回答1: Try this pattern: ['*.scss', '!_*.scss'] . It'll make the distinction more explicit, too. sass: { compile: { files: [{ expand: true, cwd: 'css/', src:

Grunt/Yeoman Multiple Gruntfile.js Files

风流意气都作罢 提交于 2020-01-03 05:11:09
问题 My goal is the be able to build my project to two separate build folders, each with its' own Grunt tasks. I noticed the grunt-cli has the --gruntfile option which allows you to specify another Gruntfile to use. So far, I have a Gruntfile.js working perfectly (near stock from Yeoman). Also, I have another Gruntfile2.js sitting alongside. Gruntfile.js var yeomanConfig = { app: 'app', dist: '../www_browser' }; Gruntfile2.js var yeomanConfig = { app: 'app', dist: '../www' }; grunt build is meant