Readme Work
This commit is contained in:
parent
c6dc295100
commit
22ab9045d8
65
README.md
65
README.md
@ -3,47 +3,42 @@ The ICT GameJam Voting Application
|
|||||||
|
|
||||||
Downloading and Running
|
Downloading and Running
|
||||||
----
|
----
|
||||||
Download a binary from the list below that is appropriate for your system
|
Download a binary from the list below that is appropriate for your system
|
||||||
Run the binary, if a database is not found in the current directory, the application will walk you through
|
Run the binary, if a database is not found in the current directory, the application will walk you through
|
||||||
and initial set up (create an admin user, give the site a title, name the current game jam) and a database
|
and initial set up (create an admin user, give the site a title, name the current game jam) and a database
|
||||||
will be created in the current directory
|
will be created in the current directory
|
||||||
|
|
||||||
|
|
||||||
Command Line Arguments
|
Command Line Arguments
|
||||||
----
|
----
|
||||||
|
|
||||||
Configuration arguments
|
Configuration arguments
|
||||||
Passing a configuration argument will save the value to the database for future use
|
Passing a configuration argument will save the value to the database for future use
|
||||||
```bash
|
```bash
|
||||||
-title=<title> Set the title for the site
|
-title=<title> Set the title for the site
|
||||||
-port=<port> The port to run the site on
|
-port=<port> The port to run the site on
|
||||||
-session-name=<name> A name to use for the session
|
-session-name=<name> A name to use for the session
|
||||||
-server-dir=<director> Directory to use for assets (templates/js/css)
|
-server-dir=<director> Directory to use for assets (templates/js/css)
|
||||||
-reset-defaults Reset all of the configurable site settings to their defaults
|
-reset-defaults Reset all of the configurable site settings to their defaults
|
||||||
This only affects the settings that can be set from the command line
|
This only affects the settings that can be set from the command line
|
||||||
```
|
```
|
||||||
|
|
||||||
Runtime Arguments
|
Runtime Arguments
|
||||||
These arguments only affect the current run of the application
|
These arguments only affect the current run of the application
|
||||||
```bash
|
```bash
|
||||||
-help Display the application help, breakdown of arguments
|
-help Display the application help, breakdown of arguments
|
||||||
-dev Run in development mode, load assets (templates/js/css) from file system
|
-dev Run in development mode, load assets (templates/js/css) from file system
|
||||||
rather than the binary
|
rather than the binary
|
||||||
```
|
```
|
||||||
|
|
||||||
Prebuilt Binaries
|
Prebuilt Binaries
|
||||||
----
|
----
|
||||||
[Linux 64 bit](https://br0xen.com/dowload/ictgj-voting/gjvote.linux64 "Linux 64 bit build")
|
[Linux 64 bit](https://br0xen.com/dowload/ictgj-voting/gjvote.linux64 "Linux 64 bit build")
|
||||||
|
[Linux 32 bit](https://br0xen.com/download/ictgj-voting/gjvote.linux386 "Linux 32 bit build")
|
||||||
[Linux 32 bit](https://br0xen.com/download/ictgj-voting/gjvote.linux386 "Linux 32 bit build")
|
[Linux Arm](https://br0xen.com/download/ictgj-voting/gjvote.linuxarm "Linux Arm build")
|
||||||
|
[Mac OS](https://br0xen.com/download/ictgj-voting/gjvote.darwin64 "Mac OS build")
|
||||||
[Linux Arm](https://br0xen.com/download/ictgj-voting/gjvote.linuxarm "Linux Arm build")
|
[Windows 64 bit](https://br0xen.com/download/ictgj-voting/gjvote.win64 "Windows 64 bit build")
|
||||||
|
[Windows 32 bit](https://br0xen.com/download/ictgj-voting/gjvote.win386 "Windows 32 bit build")
|
||||||
[Mac OS](https://br0xen.com/download/ictgj-voting/gjvote.darwin64 "Mac OS build")
|
|
||||||
|
|
||||||
[Windows 64 bit](https://br0xen.com/download/ictgj-voting/gjvote.win64 "Windows 64 bit build")
|
|
||||||
|
|
||||||
[Windows 32 bit](https://br0xen.com/download/ictgj-voting/gjvote.win386 "Windows 32 bit build")
|
|
||||||
|
|
||||||
|
|
||||||
Building
|
Building
|
||||||
@ -55,15 +50,13 @@ go get github.com/devict/ictgj-voting
|
|||||||
|
|
||||||
Developing/Contributing Notes
|
Developing/Contributing Notes
|
||||||
----
|
----
|
||||||
Do not make changes to `assets.go`, this file is generated when you run `go generate`
|
Do not make changes to `assets.go`, this file is generated when you run `go generate`
|
||||||
|
Pass in the `-dev` flag to enable development mode (load assets from the file system instead of embedded).
|
||||||
|
After making changes to assets (templates, javascript, css) be sure to run `go generate` before `go build`
|
||||||
|
This regenerates the assets.go file
|
||||||
|
|
||||||
Pass in the `-dev` flag to enable development mode (load assets from the file system instead of embedded).
|
Please use the go tooling to match the standard go coding style. For parts that aren't bound by that style,
|
||||||
|
either try to match the already existing style, or give a reason why you think it should change.
|
||||||
After making changes to assets (templates, javascript, css) be sure to run `go generate` before `go build`
|
|
||||||
This regenerates the assets.go file
|
|
||||||
|
|
||||||
Please use the go tooling to match the standard go coding style. For parts that aren't bound by that style,
|
|
||||||
either try to match the already existing style, or give a reason why you think it should change.
|
|
||||||
|
|
||||||
|
|
||||||
Vendorings
|
Vendorings
|
||||||
|
Loading…
Reference in New Issue
Block a user