update readme install command

This commit is contained in:
Adrien Marquès 2018-10-02 09:58:51 +02:00
parent 85a0521723
commit 8c0d4df4b3
1 changed files with 5 additions and 18 deletions

View File

@ -34,7 +34,6 @@ This framework is based over some of the following concepts.
- [I. Installation](#i-installation) - [I. Installation](#i-installation)
* [1. Download and install the package](#1-download-and-install-the-package) * [1. Download and install the package](#1-download-and-install-the-package)
* [2. Compile the command-line builder](#2-compile-the-command-line-builder)
- [II. Setup a project](#ii-setup-a-project) - [II. Setup a project](#ii-setup-a-project)
* [1. Configuration](#1-configuration) * [1. Configuration](#1-configuration)
* [2. Controllers](#2-controllers) * [2. Controllers](#2-controllers)
@ -57,22 +56,10 @@ You need a recent machine with `go` [installed](https://golang.org/doc/install).
##### 1. Download and install the package ##### 1. Download and install the package
```bash ```bash
go get -u git.xdrm.io/go/aicra go get -u git.xdrm.io/go/aicra/cmd/aicra
``` ```
It should now be available locally and available for your imports. The library should now be available locally and available for your imports. Moreover, the **project compilet** have been installed as the `aicra` command.
##### 2. Compile the command-line compiler
You should then compile the project compiler to help you manage your projects.
```bash
go install git.xdrm.io/go/aicra/cmd/aicra
```
> The executable `aicra` will be placed into your `$GOPATH/bin` folder, if added to your environment PATH it should be available as a standalone command in your terminal. If not, you can simply run `$GOPATH/bin/aicra` to use the command or create a symlink into `/usr/local/bin` for instance. > The executable `aicra` will be placed into your `$GOPATH/bin` folder, if added to your environment PATH it should be available as a standalone command in your terminal. If not, you can simply run `$GOPATH/bin/aicra` to use the command or create a symlink into `/usr/local/bin` for instance.