# Community Connect Prototype

## macOS Prereqs

- Git
  Should come with macOS already but you can check by running

```
Check install
$ git --version
```

- [Homebrew](https://www.google.com)
- NVM

```
Install
$ mkdir ~/.nvm
$ brew install nvm

Check install
$ nvm --version
```

- Node

```
Install
$nvm install 12.18.0

Check install
$ node -v
$ npm -v
```

## Linux Prereqs

- Git

```
Install
TBD

Check install
$ git --version
```

- Node

```
Install
TBD

Check install
$ node -v
$ npm -v
```

## Windows 10 Prereqs

- Git

```
Install
TBD

Check install
$ git --version
```

- Node

```
Install
TBD

Check install
$ node -v
$ npm -v
```

## Running repo locally

1. Clone

```
HTTPS
$ git clone https://github.com/JuanGrajales/community-prototype.git

SSH
$ git clone git@github.com:JuanGrajales/community-prototype.git
```

2. Install dependencies

```
In the root of the project (i.e. where package.json is located) run
$ npm i
```

3. Run project

```
In the root of the project (i.e. where package.json is located) run
$ npm start
```

Docs for running backend
Requirements

- Python
- Django
- Postgres
- pgAdmin4

commands

- pip3 install pipenv (brew install pipenv)
- pipenv shell
- pip install django (python -m pip install django)
- pipenv install djangorestframework

Running backend

- python manage.py runserver
