项目作者: zguillez

项目描述 :
Yeoman generator for simple landing page
高级语言: JavaScript
项目地址: git://github.com/zguillez/generator-landingpages.git
创建时间: 2018-01-26T21:49:38Z
项目社区:https://github.com/zguillez/generator-landingpages

开源协议:MIT License

下载


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

  1. npm install -g yo

Yeoman Generators

To install generator-landingpages from npm, run:

  1. npm install -g generator-landingpages

Finally, initiate the generator:

  1. 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.

  1. {
  2. "domain": "https://{mydomain.com}",
  3. "ssh": {
  4. "host": "{ip}",
  5. "username": "{username}",
  6. "password": "{password}",
  7. "path": "/var/www/vhosts/{mydomain.com}/httpdocs/",
  8. "folder": "{folder}"
  9. },
  10. "ftp": {
  11. "host": "ftp.{mydomain.com}",
  12. "port": 21,
  13. "username": "{username}",
  14. "password": "{password}",
  15. "local": "./",
  16. "remote": "/"
  17. }
  18. }

configure local environment

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

  1. yarn prepare-local

Usage

Develop code on folder /src

  1. /src
  2. /static
  3. /views
  4. data.js

Local server

Run npm task serve for development server

  1. 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