Skip to content

Commit

Permalink
add analytics and change readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pasalino committed Apr 13, 2018
1 parent 239f862 commit 18fb578
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 7 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Create you landing page infrastructure in **30 second**. TinyLanding is the easy
+ [Using](#using)
* [Manage TinyLanding](#manage-TinyLanding)
* [Deployment](#deployment)
+ [Deploy on Docker](#deploy-on-docker)
* [Roadmap](#roadmap)
* [Contributing](#contributing)
* [Versioning](#versioning)
Expand Down Expand Up @@ -74,8 +75,8 @@ Change file `app/views/index.mustache` with your HTML for create your personal w

* *(Under costruction) Include template form.mustache in landing page*
* *(Under costruction) Include JQuery and main.js scripts*
* *(Under costruction)Include main.css*
* *(Under costruction)Errorfile*
* *(Under costruction) Include main.css*
* *(Under costruction) Errorfile*

In `app/public` folder there is all public asset for landing. This file is reached from root url. In this folder you include all CSS, scripts, images, other assets used in your landing.

Expand Down Expand Up @@ -117,12 +118,25 @@ In this mode, TinyLanding use optimized settings:
> Remember to use process manager for production mode e.g. [PM2](http://pm2.keymetrics.io/)<br/>
> A process manager is a “container” for applications that facilitates deployment, provides high availability, and enables you to manage the application at runtime.

### Deploy on Docker (Under Construction)

You can create docker container:

1. Build

2. Run

You can use docker-compose for run TinyLanding in production

## Roadmap

* Istruction for create PM2 Services
* Dockerize LandingPage
* System for multiple landing page in one
* Provisioning on Heroku
* Documentation for edit template
* Documentation for run in docker
* Create config system


## Contributing
Expand Down
7 changes: 5 additions & 2 deletions app/emails/templates/lead.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

</head>
<body>
<h1>{{name}}</h1>
<h2>{{message}}</h2>
You receive new lead from TinyLanding
<strong>Name</strong>
<p>{{name}}</p>
<strong>Message</strong>
<p>{{message}}</p>
</body>
</html>
14 changes: 12 additions & 2 deletions app/views/index.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
<div id="slideShow">
<div class="animatedParent animateOnce">
<div class="animated bounceIn slideShow_container">
<h1>Create your <br class="mobile"/><strong>Landing Page</strong><br/>self-hosted</h1>
<h1>Create your<br class="mobile"/>&nbsp;<strong>Landing Page</strong><br/>self-hosted</h1>
<div class="subtitle">
Your landing page and leads manager<br class="mobile"/><strong>out-of-the-box</strong><br
Your landing page and leads manager<br class="mobile"/>&nbsp;<strong>out-of-the-box</strong>&nbsp;<br
class="mobile"/>with Node.js+Express.
</div>
<div class="button"><a href="https://github.com/pasalino/TinyLanding"><i class="fab fa-github"></i>
Expand Down Expand Up @@ -225,6 +225,16 @@
</footer>
<script type="text/javascript" src="/scripts/css3-animate-it.js"></script>
<script type="text/javascript" src="/scripts/parallax.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-117521562-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-117521562-1');
</script>
</body>
</html>

0 comments on commit 18fb578

Please sign in to comment.