Gravity Installation

Now for the fun part – let's get Gravity up and running!

1. Install Dependencies

Open up a new terminal window and navigate to the folder where you have saved Gravity and run the following command:

npm install

This will download and install all the dependencies required to run Gravity using NPM (which you installed earlier).

It's a good idea to run an audit at this point to check for (and fix) any security issues with third party modules.

npm audit

2. Start Your Application

High five! You can now start your application.

In terminal, type the following and press enter:

node server

Do not use nodemon for this

Open up a new browser tab and navigate to: http://localhost:8080/config/setup and you will be presented with the Gravity welcome screen.

Follow the steps on screen to set up your database and connect your Stripe and Mailgun accounts.

After you have completed the setup, please restart your node server to ensure your application is using these settings then navigate to:

http://localhost:8080

You'll then want to click on signup and create an account to access the main application.

Build Your Application