Social networking app for discussion (arguing) regarding politics.
Installation instructions: https://golang.org/doc/install
Run the following in your Terminal:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Run the following in your Terminal:
brew install node
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:
./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:
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.
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.
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:
$ yo flux:component ComponentName
$ yo flux:action ActionCreatorName
$ yo flux:store StoreName