Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/martindsouza/pres-gulp-loader


https://github.com/martindsouza/pres-gulp-loader

Last synced: about 13 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Presentation Gulp Loader

# Install

```bash
git clone https://github.com/martindsouza/pres-gulp-loader.git
cd pres-gulp-loader
npm install
```

# Config

In `gulfile.js` they're a few options in the `config` object:

Option | Desc
------------- | -------------
`port` | Port to run the server on
`notify` | `true/false` shows the BrowserSync notifications
`openBrowser` | `true/false` open the browser when run
`srcPath` | This is the full path to the folder you want to watch

# Run

```bash
npm start
```

Open the browser to: [http://localhost:3000](http://localhost:3000). *Note: This is an optional configuration*

# Template

## Copy Template

In the new presentation directory (should already be initialized with `git clone`):

```bash
~/Documents/GitHub/martindsouza/pres-gulp-loader/scripts/copy-template.sh
```

## gh-pages

To auto-build the gh-pages (and host online), be sure all the changes are committed.

```bash
./scripts/gh-pages-rebase.sh
```

Then go to (change URL accordingly): [https://martindsouza.github.io/pres-template/](https://martindsouza.github.io/pres-template/)