diff options
| author | Camil Staps | 2016-09-02 11:13:04 +0200 | 
|---|---|---|
| committer | Camil Staps | 2016-09-02 11:13:04 +0200 | 
| commit | ad94901089f7ceb186c0e57e0419380e8b3568c2 (patch) | |
| tree | adda553460c606b20fec13899367b655a6c8f94f | |
| parent | Fix illegal octal literals on stats page (diff) | |
Update name and link
| -rw-r--r-- | Readme.md | 20 | ||||
| -rw-r--r-- | resources/views/stats.blade.php | 4 | ||||
| -rw-r--r-- | resources/views/trainer.php | 6 | 
3 files changed, 15 insertions, 15 deletions
| @@ -1,4 +1,4 @@ -# HebrewParseTrainer +# ParseTrainer  A simple app to practice Hebrew verbs. @@ -8,8 +8,8 @@ A simple app to practice Hebrew verbs.  ## Installation -    $ git clone https://github.com/camilstaps/HebrewParseTrainer -    $ cd HebrewParseTrainer +    $ git clone https://github.com/HebrewTools/ParseTrainer +    $ cd ParseTrainer      $ composer install  ## Configuration @@ -48,7 +48,7 @@ You need to enable PHP and redirect everything to `server.php`. Configuration on      server {          listen [::]:80;          server_name myhostname; -        root /.../HebrewParseTrainer; +        root /.../ParseTrainer;          index index.php index.html index.htm;          charset utf-8; @@ -66,7 +66,7 @@ You need to enable PHP and redirect everything to `server.php`. Configuration on          }      } -In a subdirectory, we need to enforce trailing slashes and do some special things. This configures nginx to handle the trainer from `/HebrewParseTrainer/`: +In a subdirectory, we need to enforce trailing slashes and do some special things. This configures nginx to handle the trainer from `/ParseTrainer/`:      server {          listen [::]:80; @@ -77,15 +77,15 @@ In a subdirectory, we need to enforce trailing slashes and do some special thing          rewrite ^([^.]*[^/])$ $1/ permanent; -        location ~ ^/HebrewParseTrainer/(.*)\.php$ { -            try_files $uri $uri/ /HebrewParseTrainer/server.php$is_args$query_string; +        location ~ ^/ParseTrainer/(.*)\.php$ { +            try_files $uri $uri/ /ParseTrainer/server.php$is_args$query_string;              # whatever you do to make PHP work          } -        rewrite /HebrewParseTrainer/?$ /HebrewParseTrainer/public/index.php; -        location /HebrewParseTrainer { -            try_files $uri $uri/ /HebrewParseTrainer/server.php$is_args$query_string; +        rewrite /ParseTrainer/?$ /ParseTrainer/public/index.php; +        location /ParseTrainer { +            try_files $uri $uri/ /ParseTrainer/server.php$is_args$query_string;          }          location / { diff --git a/resources/views/stats.blade.php b/resources/views/stats.blade.php index e7d0714..f4578e5 100644 --- a/resources/views/stats.blade.php +++ b/resources/views/stats.blade.php @@ -19,7 +19,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  <html lang="en">  <head>  	<meta charset="utf-8"> -	<title>HebrewParseTrainer statistics</title> +	<title>ParseTrainer statistics</title>  	<link rel="stylesheet" href="{{ url("/vendor/twbs/bootstrap/dist/css/bootstrap.min.css") }}">  	<link rel="stylesheet" href="{{ url("/vendor/twbs/bootstrap/dist/css/bootstrap-theme.min.css") }}">  	<link rel="stylesheet" href="{{ url("/public/css/hebrewparsetrainer.css") }}"> @@ -27,7 +27,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  <body role="application">  <div class="container" role="main">  	<div class="page-header"> -		<h1>HebrewParseTrainer statistics</h1> +		<h1>ParseTrainer statistics</h1>  	</div>  	<div class="row"> diff --git a/resources/views/trainer.php b/resources/views/trainer.php index 270688f..ed2c241 100644 --- a/resources/views/trainer.php +++ b/resources/views/trainer.php @@ -19,7 +19,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  <html lang="en">  	<head>  		<meta charset="utf-8"> -		<title>HebrewParseTrainer</title> +		<title>ParseTrainer</title>  		<link rel="stylesheet" href="vendor/twbs/bootstrap/dist/css/bootstrap.min.css">  		<link rel="stylesheet" href="vendor/twbs/bootstrap/dist/css/bootstrap-theme.min.css">  		<link rel="stylesheet" href="public/css/hebrewparsetrainer.css"> @@ -27,7 +27,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  	<body role="application">  		<div class="container" role="main">  			<div class="page-header"> -				<h1>HebrewParseTrainer</h1> +				<h1>ParseTrainer</h1>  			</div>  			<div class="row"> @@ -68,7 +68,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  						</div>  						<h3>About</h3> -						<p>© 2015-16 <a href="https://camilstaps.nl">Camil Staps</a>. Licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL 3.0</a>. Source is on <a href="https://github.com/camilstaps/HebrewParseTrainer">GitHub</a>.</p> +						<p>© 2015-16 <a href="https://camilstaps.nl">Camil Staps</a>. Licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.en.html">GPL 3.0</a>. Source is on <a href="https://github.com/HebrewTools/ParseTrainer">GitHub</a>.</p>  						<p>Please report any mistakes to <a href="mailto:info@camilstaps.nl">info@camilstaps.nl</a>.</p>  					</form>  				</div> | 
