GithubHelp home page GithubHelp logo

storpug-lp's Introduction

storpug Landing Page

A static landing page built with Pug, Gulp, and Love

Prerequisites

  • This project requires Nodejs v6.x and npm v3.10.x and up
  • The firebase-tools package is recommended (a local version is installed to node_modules)

Local Development

First, download this repo.

git clone [email protected]:storpug/storpug-lp.git

Second, install dependencies using npm.

cd storpug-lp
npm install

Third, acquire the prod.conf.json file for this project. This file contains API keys and other secrets. Put it in the config directory. An example file is provided for formatting purposes. See dev.conf.json.

Now, build the project and watch for changes. The build files go in the dist folder. Any changes to the src files trigger a re-build. Open a browser to http://localhost:8080 to view the site. We use the http-server package to create a local http server.

Run:

npm run serve

Note: if you just want to watch the project and not start a server, run:

npm run watch

Deployment

Before deploying, we must initialize the project with Firebase. Run the command firebase init. Look for the storpug project and set it up to use the dist folder as the public folder.

When ready, we simply run an npm command to deploy.

Run:

npm run build
npm run deploy

Enjoy!

Go make magic happen. Solve some problems.

Credits

We couldn't have done it without these folks:

License

MIT

storpug-lp's People

Contributors

tommytomatoe avatar huddlehouse avatar

Watchers

 avatar James Cloos avatar  avatar

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.