Add more info to wiki

Timothy Warren 2017-02-21 15:54:19 -05:00
parent 3ef8c2b326
commit cf4fd59e7d
3 changed files with 35 additions and 1 deletions

@ -35,3 +35,10 @@ environments:
1. Create phinx and Hummingbird config files
2. Run the migrations. Based on the example file above, you'd run: `./vendor/bin/phinx migrate -e development`
## Importing Anime:
1. Login
2. Click the `[ Add Item ]` link on the Anime Collection page
3. Enter the name of the anime you wish to add, and select the appropriate search result
4. Save & Repeat as needed

@ -5,4 +5,5 @@ Here is some more in-depth information about setting up Hummingbird.
## Pages
* [Collection Setup](./collection) - how to set up the Anime collection
* [Configuration](./configuration)
* [Configuration](./configuration) - what the configuration items mean
* [Server Setup](./serversetup) - how to setup your web server

26
serversetup.md Normal file

@ -0,0 +1,26 @@
# Web Server Setup
## nginx
Basic nginx setup
```nginx
server {
location / {
try_files $uri $uri/ /index.php$uri?$args;
}
location ~ ^(.+\.php)($|/) {
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_index index.php;
}
location ^~ /vendor {
deny all;
}
}
```
## Apache
Make sure to have `mod_rewrite` and `AllowOverride All` enabled in order to take
advantage of the included `.htaccess` file. If you don't wish to use an `.htaccess` file,
include the contents of the `.htaccess` file in your Apache configuration.