GitXplorerGitXplorer
b

codeshovel-ui

public
1 stars
0 forks
29 issues

Commits

List of commits on branch master.
Unverified
05437f1ee72d29bc849ff9991678edc7f36c4d4b

Just show parameter name, not type

bbraxtonhall committed 5 years ago
Unverified
f617e4b9892e6ab0aed4a0a6f218ea0d0bab6c0a

Support Python

bbraxtonhall committed 5 years ago
Verified
6bf0c164dc81f68c0f116d46bfcb647fe3565c6c

Fix docker build syntax in README

bbraxtonhall committed 5 years ago
Unverified
72c20516fce17a510c5f6f341debb409d1c670c7

Update docker-compose.yaml

bbraxtonhall committed 5 years ago
Unverified
aa6a1414d0e16cfe648ae8f6935de95a54b24480

Update README.md

bbraxtonhall committed 5 years ago
Unverified
6ff090a6e9fd77b394ef16e2612dc47e5d3ad792

Create README and sample .env

bbraxtonhall committed 5 years ago

README

The README file for this repository.

codeshovel - ui

A React based User Interface, serving interactions with ataraxie/codeshovel.

Serving the User Interface

docker-compose

Use this method to serve this UI accompanied by a web service. Create a .env file in the root of the project with all the variables listed in .env.sample. Then from the project directory, run:

docker-compose build && docker-compose up -d

Docker

To build an image, from the project directory run:

Docker build --build-arg SERVER_ADDRESS=<Address of webservice> \
             --build-arg PUBLIC_ADDRESS=<Public address of UI> \
             -t csui .

To run a container, run:

Docker run -p <Port to listen on>:5000 csui

Command Line

Requires Node version 10 or higher and Yarn

Development Server

To prepare for running, from the project directory run:

yarn install

To deploy, from the project directory run:

REACT_APP_SERVER_ADDRESS=<Address of webservice> yarn start

Static Server

To build the project, from the project directory run:

yarn install && REACT_APP_SERVER_ADDRESS=<Address of webservice> \
                PUBLIC_URL=<Public address of UI> yarn build

To deploy, from the project directory run:

yarn serve -s build