-
NEW
-
F4A Avoid Creating Project Folder On Setup?
By Jim Preston
Is there any way to not create a new project folder with "Foundation new"? It makes my team's workflow more complicated than I prefer. I want them, and me, to run Foundation new in the project folder that is already setup by Vagrant with a she... (continued)
-
1Reply
-
Install angular-xeditable in Zurb Foundation for Apps?
By Jim Preston
Anyone done this before? It lets users edit-in-place or inline edit a form such as a profile. No need to have a separate form for input and another template for output. The author has an example here: https://vitalets.github.io/angular-xeditable/#... (continued)
Last Reply by Jacky888 about 1 year ago
-
2Replies
-
Change app from index.html to another file?
By Jim Preston
I'm far from a wizard at Foundation for Apps and SPAs but struggling along and slowly getting my head around it. I don't want to use index.html for the app home. That should be a log-in and some static content. I want client/dashboard.html to be my S... (continued)
Last Reply by Jim Preston almost 4 years ago
-
5Replies
-
Foundation for Apps not loading ui-view and ng-include
By Jim Preston
I was using Chrome v48.0 with the F4A gulpfile.js and it wasn't loading the ng-includes and ui-views into index.html. I was sure it was me and struggled for much of a day until I tried Safari and Firefox and magic, my code was working fine. Then I tinke... (continued)
Last Reply by Jim Preston almost 4 years ago
-
9Replies
-
Update F6.0.0 to F6.1.2, How?
By Jim Preston
I used Yeti Launch to install F6.0.0 on 12/23/15 and all went well. I need the column uncentered class and it was supposed to be fixed in 6.1.1 so I tried npm update foundation-sites and bower update foundation-sites in terminal but they didn't seem to d... (continued)
Last Reply by marcosanchez over 1 year ago
-
11Replies
-
Foundation 6: Comment out import foundation problem
By Jim Preston
I used Yeti to setup Foundation 6. app.scss is working with gulp to compile app.css. However, if I comment out @import 'foundation'; and try to use only a few of the other imports in app.css then they don't work. Gulp gets upset that it can't find foun... (continued)
Last Reply by jio4gvoice calling 11 months ago
-
4Replies
-
Setup Foundation 6 for Flask Framework?
By Jim Preston
I've used Foundation 4 for simple sites but I'm ramping up to develop a robust Web app from scratch. I would like to know the following: 1) What is a good Foundation 6 setup with Flask? I assume that the css and js belong in /static/ but where do th... (continued)
Last Reply by annedua over 1 year ago
-
26Replies
-
Card design UI in Foundation?
By Jim Preston
Google, Trello, Pinterest, Twitter, Facebook, etc are all into the card design for content. So how can we do this in Foundation?
Last Reply by qgreentech about 1 year ago
Chris Jones' solution of replacing 'localhost' with '0.0.0.0' worked for me. I setup an Ubuntu 14.04 server on my Mac using Vagrant then installed Foundation for Apps with a shell script in Terminal. (Faster than typing the commands if you have to do this multiple times or setup colleague's computers.) In a browser on my Mac, the host machine, I could get localhost:8080 to work with NGINX and Apache but Foundation for Apps wasn't showing the welcome screen in localhost:8079. I struggled for a couple of days until I found his post.
My shell script for whoever needs it. Put setup.sh, a text file, in your dev folder, type chmod +x setup.sh
to give execute permission to the file, then type ./setup.sh to start the script. If you need to change folder permissions type sudo chmod 777 . in Terminal and include that period.
#!/usr/bin/env bash
clear
printf "Hi $USER!\n\n"
printf "I'll setup Foundation for Apps for you.\n\n"
printf "First let's setup a git repository in your project folder.\n\n"
printf "Enter your email address:\n\n"
read addr
printf "Your email address is $addr.\n\n"
git config --global user.email "$addr"
printf "Enter your first and last name:\n\n"
read name
printf "Your name is $name.\n\n"
git config --global user.name "$name"
printf "Setting up your local git repository.\n\n"
sudo git init
printf "Setting up F4A globally!\n\n"
sudo npm install --global foundation-cli
printf "Next, answer a couple of questions to setup Foundation in your project file.\n\n"
foundation new