Skip to content

Commit

Permalink
Merge pull request #1 from uts-cic/master
Browse files Browse the repository at this point in the history
Update acawriter
  • Loading branch information
radhikavm authored Jun 12, 2018
2 parents 08b985c + 7a503d7 commit 465352d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/Http/Controllers/StringTokenizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
class StringTokenizer extends Controller
{
public $gResponse;
public $graphQLURL = "http://tap-test.utscic.edu.au/graphql";
public $graphQLURL = "";
public $client;
protected $query = "query
CleanText(\$input: String!) {
Expand Down Expand Up @@ -138,6 +138,7 @@ class StringTokenizer extends Controller
public function __construct()
{
$this->middleware('auth');
$this->graphQLURL = env('TAP_API', ''). "/graphql";
$this->client = new Client($this->graphQLURL);
}
/**
Expand Down
2 changes: 1 addition & 1 deletion database/seeds/FeatureTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function run()
//
$feature_a = new Feature();
$feature_a->name = "Default-Rule";
$feature_a->grammar="Analytic";
$feature_a->grammar="Analytical";
$feature_a->rules=json_encode("{
\"rules\": [
{
Expand Down
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

<strong>AcaWriter</strong> was created by the Academic Writing Analytics project, at the UTS Connected Intelligence Centre. The software is now being shared and improved across universities in Australia and beyond, as part of the Higher Education Text Analytics open source project.

### AcaWriter requires TAP & Athanor installed.

## Tech Stack

Laravel, Postgres, GraphQL, Redis, node, socket.io, docker, docker-compose
Expand Down Expand Up @@ -181,7 +183,7 @@ For production environments...

```sh
$ npm run prod
$ ./startup /* runs the node socket.js for webscokets to work */
$ ./startup.sh /* runs the node socket.js for webscokets to work */
```

## Access control/Admin
Expand Down

0 comments on commit 465352d

Please sign in to comment.