Giter Club home page Giter Club logo

ios-landing-page's Introduction

This is the repo for the Optimizely /mobile landing page.

Note: There is currently no way to run this environment on the same user account that the optimizely/optimizely environment is installed in. optimizely/optimizely causes conflicts wtih npm and thus this environment will not run. To run this repo, you will need to run it in a different user account on your computer than the account that optimizely/optimizely is installed in.

##Quick start

###Step 1: Install node.js (and npm)

You can easily install both with the installer found on the Node website.

###Step 2: Clone this repo

Clone this repo.

###Step 3: Install npm dependencies

Navigate to the repo directory. In the command line execute the following command:

npm i

All done!

##Working in the environment

The are two environment, prod and dev.

###dev

The dev environment starts up a node server on localhost that serves the landing page to your browser. It also has autoreload so that if you change any files, Grunt will compile the site and refresh your browser window.

To start the dev environment run this command: grunt server

###prod

Once you have finished making your changes in the dev environment, kill the dev server by running ctrl+c.

Then run this command: grunt build

The entire site will be built in /dist.

Copy the contents of /dist and transfer them to the optimizely/optimizely repo:

index.html -> /src/www/templates/website/mobile.html

css/styles.css -> /src/www/static/mobile/css/style.css

img/* -> /src/www/static/mobile/img/

js/* -> /src/www/static/mobile/js/

Deploy the changes to optimizely/optimizely

ios-landing-page's People

Contributors

kylerush avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.