tiny-url-ex/README.md

36 lines
799 B
Markdown
Raw Normal View History

# xdrm go framework
### 1. Setup
All commands above must be launched from the root of this repository.
In order for next steps to work properly whatever your configuration, you might execute the following command:
```bash
2018-07-05 17:19:39 +00:00
chmod +x $GOPATH/src/git.xdrm.io/go/aicra/*.sh
```
### 2. Build type checkers
Default types have to be built before using them.
```bash
2018-07-05 17:19:39 +00:00
$GOPATH/src/git.xdrm.io/go/aicra/build-types.sh
```
If the build process succeeds, the `./types` folder must contain *.so* files.
### 3. Build controllers
Controllers are located under the `./root` file structure.
```bash
2018-07-05 17:19:39 +00:00
$GOPATH/src/git.xdrm.io/go/aicra/build-controllers.sh ./root
```
If the build process succeeds, the `./controllers` folder must contain *.so* files.
### 4. Launch the api
```
$ go run ./cmd/test/main.go
```