ofstudio / stimul.dance

Stimul Big Party West Coast Swing website

Home Page:http://stimul.dance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stimul.dance

Stimul Big Party West Coast Swing website

Project Setup

Run npm install to install dependencies. Run grunt to start local server.

Working with site

  • Source files (jade templates, javascript and Foundation components) are located in app
  • Compiled site with concatenated and minified assets located in dist
  • Zurb Foundation 5 framework used
  • app/css/app.css built from app/scss/app.scss:
    • _appstyles.scss contains site styles
    • settings.scss contains Foundation 5 defaults

Grunt tasks

  • default - development task: compile and concat scss and js, open in browser and watch for changes
  • publish - compile, concat and minify to dist, deploy to server.

Deployment

To static hosting (nginx, Apache, etc) via SFTP / SSH (lftp)

Install lftp. Rename deploy-access-sample.sh to deploy-access.sh and setup variables:

  • HOST
  • USER
  • TARGETFOLDER

Authenification

To use SSH key-authenification in lftp set PASS=''. Otherwise you can use OS X Keychain to get server password. Replace %ACCOUNT_NAME% in get_pw function with account name of Keychain item and use PASS=$(get_pw)

Run grunt publish to generate dist and deploy to the server.

Custom

Find task publish in Gruntfile.js and replace last sub-task shell:deploy with your own.

TODO

  • Fix afisha block on mobile layouts
  • Fix video issue Win / Chrome

License

MIT

About

Stimul Big Party West Coast Swing website

http://stimul.dance


Languages

Language:CSS 80.6%Language:HTML 17.9%Language:JavaScript 1.2%Language:Shell 0.3%