generator-landingpages
Yeoman generator for simple landing page
Last updated 2 years ago by zguillez .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install generator-landingpages 
SYNC missed versions from official npm registry.

generator-landingpages

npm version Build Status Installs Gitter

Zguillez | Guillermo de la Iglesia

Yeoman generator for HTML landing pages development with Mustache and SASS

Getting Started

Install Yeoman

npm install -g yo

Yeoman Generators

To install generator-landingpages from npm, run:

npm install -g generator-landingpages

Finally, initiate the generator:

yo landingpages

Requeriments

Nodejs

Documentation:

Yarn

Documentation:

Configuration

FIRST OF ALL you need to edit the file .sshconfig.

configuration file

Edit the .sshconfig with the data of your SSH server access or FTP connection.

{
  "domain": "https://{mydomain.com}",
  "ssh": {
    "host": "{ip}",
    "username": "{username}",
    "password": "{password}",
    "path": "/var/www/vhosts/{mydomain.com}/httpdocs/",
    "folder": "{folder}"
  },
  "ftp": {
    "host": "ftp.{mydomain.com}",
    "port": 21,
    "username": "{username}",
    "password": "{password}",
    "local": "./",
    "remote": "/"
  }
}

configure local environment

Run de npm command prepare-local. This will edit the file inc/config.php with the .sshconfig data.

yarn prepare-local

Usage

Develop code on folder /src

/src
    /static
    /views
    data.js

Local server

Run npm task serve for development server

yarn serve

Contributing and issues

Contributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better then please submit an issue or send me an email.

License

©2018 Zguillez.io

Original code licensed under MIT Open Source projects used within this project retain their original licenses.

Changelog

v1.0.0 (July 13, 2018)

  • Add prompt app type (static/form)
  • Add bin tools

v0.1.0 (January 26, 2018)

  • Initial landing skeleton

Features:

  • mustache templates
  • sass

Analytics

Current Tags

  • 1.0.7                                ...           latest (6 months ago)

11 Versions

  • 1.0.7                                ...           6 months ago
  • 1.0.5                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 3
Dependencies (19)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |