# How to run

## Getting the project running locally

{% hint style="info" %}
MemeMachine requires that you have Node and npm installed on your machine.
{% endhint %}

Running the meme machine locally is fairly straightforward.

First, you must [clone this repository](https://github.com/rjewell808/meme-curator).

Once you have the repo cloned, navigate to it using your terminal and:

```
$ npm install
```

After all the dependencies have been installed, you are ready to start meme-ing:

```
$ npm run start-memeing
```

You'll see some success messages that should look like this:

![Your font + colors may vary.](https://740147353-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LOm0F9KBAF7_QRq2a-J%2F-LOm6AutdOW3ZaFKFeSW%2F-LOm7CZ_41cQbTWIBkO8%2FScreen%20Shot%202018-10-14%20at%2006.30.29.png?alt=media\&token=92a9f5ce-7f1c-4eb8-b945-99e262ee36b2)

Now open up a browser (Chrome preferred because who needs that RAM right?) and navigate to `localhost:3000`

And voila! You should see something like this:

![](https://740147353-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LOm0F9KBAF7_QRq2a-J%2F-LOm6AutdOW3ZaFKFeSW%2F-LOm7dR_ikrwzVV3mtHX%2FScreen%20Shot%202018-10-14%20at%2006.32.26.png?alt=media\&token=c0836653-0377-4c5c-9a25-e71e58ba5185)

## Running the project on the web

[Here it is live!](http://mememachine2018.herokuapp.com/)

To get the Messenger extension, [talk to this bot](https://www.facebook.com/Mememachine-1641683552604014). It will then appear as a Messenger extension when you're talking to your friends, like so:

![](https://740147353-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LOm0F9KBAF7_QRq2a-J%2F-LOm6AutdOW3ZaFKFeSW%2F-LOm9z4wj87IllAZHVpU%2F44129356_757518097923855_5941141674016112640_n.png?alt=media\&token=2bbac373-1dd5-447d-bddf-d3da7828f0b2)
