https://github.com/jonlaing/partisan-io
Partisan.IO is a web and mobile platform for connecting you new people based on your politics.
https://github.com/jonlaing/partisan-io
Last synced: 4 months ago
JSON representation
Partisan.IO is a web and mobile platform for connecting you new people based on your politics.
- Host: GitHub
- URL: https://github.com/jonlaing/partisan-io
- Owner: jonlaing
- License: gpl-3.0
- Created: 2015-09-03T22:31:34.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-11-08T21:23:15.000Z (over 8 years ago)
- Last Synced: 2024-06-20T18:30:01.658Z (about 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 18.2 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Partisan.IO
> Social networking app for discussion (arguing) regarding politics.
## Prerequisites
### Golang
Installation instructions: [https://golang.org/doc/install](https://golang.org/doc/install)
### Homebrew
Run the following in your Terminal:
```bash
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
### NodeJS
Run the following in your Terminal:
```bash
brew install node
```
## Running your project
The project has two components, the Go backend and the JS front end. The repo should have a build of the backend as an executable, so to start it, run the following in your Terminal:
```bash
./partisan
```
If you would like to build the backend from source, you'll first need the Golang environment installed. You'll also need to run `go get` to get all the dependencies. After you've done that, run the following in your Terminal:
```bash
go build
```
And then run the executable as in the previous command. The server will run at `http://localhost:4000`.
To build the front end, simply run the following.
```bash
npm start
```
This will watch the `/src` directory for any changes and automatically compile them into the `/dist` directory, provided there are no errors. Live reloading currently does not work as it conflicts with the backend, but we may fix that issue shortly.
## Generating Additional Code
You can add additional functionality to your application by invoking the subgenerators included in the Flux Generator. You can add components using the following commands:
#### Components
```bash
$ yo flux:component ComponentName
```
#### Actions
```bash
$ yo flux:action ActionCreatorName
```
#### Stores
```bash
$ yo flux:store StoreName
```