zguillez / generator-landingpages

Yeoman generator for simple landing page
https://zguillez.tools/
MIT License
0 stars 0 forks source link
development frontend landing-page mustache sass yeoman-generator

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)

v0.1.0 (January 26, 2018)

Features:

Analytics