Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-dahir authored Jul 1, 2019
1 parent 2ad62a9 commit 887ac40
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,15 @@ The first thing you need to do is generate an `APP_KEY`.

### 04. Ignition

`php artisan serve`
`php artisan serve --port=8080` or `php -S localhost:8000 -t public`

Jikan is now hosted on `http://localhost:8000/v3/`

or alternatively;
`php -S localhost:8000 -t public`
**Alternatively,** host it on Apache (or Nginx)

Jikan is now hosted on `http://localhost:8000/v3/`

or;

Create a virtual host and point it to `/public`:
Create a virtual host and point it to `/public`. Jikan supports Apache out of the box, you just need to create a virtual host and point it to `/public`, and enable the rewrite module for .htaccess (`sudo a2enmod rewrite`), and configure `/etc/apache/apache2.conf` by setting `AllowOverride None` to `AllowOverride All` for the `/var/www` directory.

:information_source: You can also configure Jikan for Apache. If you wish to configure it for Nginx or anything else, you'll have to port the rewrite rules located at `public/.htaccess`
:information_source: If you wish to configure it for Nginx or anything else, you'll have to port the rewrite rules located at `public/.htaccess`

### 05. Configuring how Jikan Caches (optional)
Jikan caches on file by default in `/storage/framework/cache`. So even if you don't change the caching method, Jikan will work out of the box.
Expand Down

0 comments on commit 887ac40

Please sign in to comment.