Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.36 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.36 KB

Paint App

This project was generated with Angular CLI version 1.7.3.

Live App URL

https://dmagee-paint.herokuapp.com/

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to have installed

Node.js v6.11.2 or greater
MongoDB v2.6.12 or greater
npm v3.10.10 or greater
angular/cli v1.7.3 or greater

Installing

  1. Click the fork button on the upper right hand corner of this repository.
  2. Open the command line, navigate to the directory of your choice and type:
git clone https://github.com/yourUsername/paint-app.git

where 'yourUsername' is your github username. Afterwards, install the dependencies by entering the following in the project directory:

npm install

Create a new .env file in the local repository directory with the following contents:

MONGO_URI=mongodb://localhost:27017/paintdb

Run MongoDB in a separate command line window by navigating to where MongoDB is installed and enter the following:

mongod.exe

Start the server by navigating to the project directory and enter the following:

node server.js

You can then open the project in a browser by navigating to http://localhost:3000/