Step-By-Step Instructions:
1. Create an application folder call ACME Bank with the following structure, don't worry about the bower.json and the .bowerrc file yet.
2. Create the bower.json file, then add the following lines in the file. The file basically pulls in the dependencies that the application will need. The most important part of the file is the "dependencies" portion.
{ "name": "angular-seed", "description": "A starter project for AngularJS", "version": "0.0.0", "homepage": "https://github.com/angular/angular-seed", "license": "MIT", "private": true, "dependencies": { "angular": "~1.7.2", "angular-route": "~1.7.2", "angular-loader": "~1.7.2", "angular-mocks": "~1.7.2", "html5-boilerplate": "^6.1.0", "bootstrap": "~4.1.1" } }
3. Create the .bowerrc file and change the directory to "app/js/lib", the final markup should look like the following
{ "directory": "app/js/lib" }
Note: If you need more information on bower you can visit this blog that I wrote about it. If you don't have bower install. Type npm install -g bower to install bower globally, meaning you can now use bower anywhere.
Now type in the command bower install where the bower.json file is located at, and the components in the bower.json file will be installed in the apps/js/lib folder
Posts In The AngularJS SPA Application Series:
- Setting Up Angular-Seed
- Preparing Angular-Seed For The ACME Bank Application
- Refactor Code to Not Use Global Variables (ACME App)
- Installing MongoDB
- Create a MongoDB Configuration FIle
- Install mongoDB as a Windows Service
- Installing Express generator
- Installing ExpressJS Application Server
- Creating The SPA Project Folder Structure
- Setup Express To Serve Static Files
- Setup The ACME Bank Application For Heroku And Testing It Locally
- Deploy ACME Bank Application To Heroku
- Install RoboMongo GUI for MongoDB
best makeup artist in gurgaon
ReplyDeletebest makeup academy in gurgaon
Aivivu chuyên vé máy bay, tham khảo
ReplyDeletevé máy bay đi Mỹ giá bao nhiêu
vé máy bay từ texas về việt nam
vé máy bay từ Toronto về việt nam
chuyến bay từ nhật về việt nam
đặt vé máy bay từ hàn quốc về việt nam
Vé máy bay từ Đài Loan về VN
Chuyen bay cho chuyen gia nuoc ngoai
First time reading this blog thanks for sharing.
ReplyDelete