Menu icon Foundation
Foundation for Web Apps Installation

I am new to Foundation for Web Apps and would like to know if there is a way to install FWA without using CLI.

Thanks in advance.

installationweb appsfoundation for web apps

I am new to Foundation for Web Apps and would like to know if there is a way to install FWA without using CLI.

Thanks in advance.

Rafi Benkual almost 5 years ago

You can do a "manual" install with the apps template found here: https://github.com/zurb/foundation-apps-template

What is the reason you don't want to use the CLI?

Get Started

Clone this repository, where app is the name of your app.

git clone https://github.com/zurb/foundation-apps-template.git app
Change into the directory.

cd app

Install the dependencies. Running npm install will also automatically run bower install after. If you're running Mac OS or Linux, you may need to run sudo npm install instead, depending on how your machine is configured. Running bundle will install the correct version of Sass for the template.

npm install
bower install
bundle

While you're working on your project, run:

npm start

This will compile the Sass and assemble your Angular app. Now go to localhost:8080 in your browser to see it in action.

Phil T. almost 5 years ago

I'm about to try Foundation for Apps. But it seems that your 'Getting Started' guide is currently broken.

Executing (as mentioned in step 3)

npm start 

exits with the following error:

Error: Cannot find module 'amdefine'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/pt/Dev/Temp/tmp/foundationApp/node_modules/gulp-uglify/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-generator.js:8:18)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)

I've already updated my node, npm, ruby and bundler versions. So it really seems that executing the default gulp task is kinda broken. Unfortunately, I don't have the time to dig deeper right now in order to investigate the problem and provide a PR. But just wanted to inform you.

Bye,
Phil