2017 © Pedro Peláez
 

project prelaunch-landing-page

Pre-launch Landing Page

image

evasio/prelaunch-landing-page

Pre-launch Landing Page

  • Wednesday, May 9, 2018
  • by licvido
  • Repository
  • 2 Watchers
  • 14 Stars
  • 9 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Pre-launch Landing Page

Simple pre-launch landing page application using the Nette and sample Bootstrap 4 template., (*1)

Features

  • [x] Sign up with email
  • [x] Referrals
  • [x] Share to social channels

Preview (LIVE)

Preview build with sample Bootstrap 4 template, (*2)

Requirements

  • PHP 5.6 or higher
  • MySQL/MariaDB
  • Composer

Installation

The best way to install this application is using Composer:, (*3)

composer create-project evasio/prelaunch-landing-page path/to/install
cd path/to/install

Manual installation:, (*4)

git clone git@github.com:evasio/prelaunch-landing-page.git
cd prelaunch-landing-page
composer install

Execute SQL query from database/schema.sql to create signup table., (*5)

Replace <DATABASE>, <USER> and <PASSWORD> with correct values in app/config/config.local.neon., (*6)

Make directories temp/ and log/ writable., (*7)

Customize text in app/presenters/HomepagePresenter.php and templates in app/presenters/templates/Homepage/., (*8)

Web Server Setup

The simplest way to get started is to start the built-in PHP server in the root directory of your project:, (*9)

php -S localhost:8000 -t www

Then visit http://localhost:8000 in your browser to see the welcome page., (*10)

For Apache or Nginx, setup a virtual host to point to the www/ directory of the project and you should be ready to go., (*11)

It is CRITICAL that whole app/, log/ and temp/ directories are not accessible directly via a web browser. See security warning., (*12)

Notice: Composer PHP version

This project forces PHP 5.6 as your PHP version for Composer packages. If you have newer version on production you should change it in composer.json., (*13)

"config": {
    "platform": {
        "php": "5.6"
    }
}

The Versions