Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaoyi Zha <summermontreal@gmail.com>2016-02-27 23:05:04 +0300
committerChaoyi Zha <summermontreal@gmail.com>2016-02-27 23:05:04 +0300
commitb5827268a594623d299e7f41f4870fc7cea3c3f2 (patch)
treebc426ee629663e1b55d9fd115209d76110268ccf
parentc2633d5ff4a6317278595b5ffea55adbd2fd4eaa (diff)
Fix docs to specify new env template location
-rw-r--r--docs/user-guide/installation.md19
1 files changed, 9 insertions, 10 deletions
diff --git a/docs/user-guide/installation.md b/docs/user-guide/installation.md
index b4e8d96..3e429fb 100644
--- a/docs/user-guide/installation.md
+++ b/docs/user-guide/installation.md
@@ -95,7 +95,7 @@ server {
listen *:80;
root /var/www;
server_name example.com; # Or whatever you want to use
-
+
# return 301 https://$server_name$request_uri; # Forces HTTPS, which enables privacy for login credentials.
# Recommended for public, internet-facing, websites.
@@ -104,7 +104,7 @@ server {
rewrite ^/([a-zA-Z0-9]+)/?$ /index.php?$1;
}
- location ~ \.php$ {
+ location ~ \.php$ {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
@@ -124,16 +124,16 @@ server {
# ssl_certificate_key /etc/ssl/private/my.key;
# root /var/www;
# server_name example.com;
-#
+#
# location / {
# try_files $uri $uri/ /index.php?$query_string;
# rewrite ^/([a-zA-Z0-9]+)/?$ /index.php?$1;
# }
#
-# location ~ \.php$ {
+# location ~ \.php$ {
# try_files $uri =404;
# include /etc/nginx/fastcgi_params;
-#
+#
# fastcgi_pass php;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
@@ -183,13 +183,12 @@ any other actions.
If you wish to configure and initialize Polr manually, you may do so using
your command line.
-Rename `.env.example` to `.env` and update the values appropriately.
-You may then run the following `artisan` command to populate the database.
-You will also need to insert a admin user into the `users` table through `mysql`
-or a graphical `sql` interface.
+Rename copy `resources/views/env.blade.php` to `.env` at the root directory
+and update the values appropriately. You may then run the following `artisan`
+command to populate the database. You will also need to insert a admin user into the `users` table through `mysql` or a graphical `sql` interface.
```bash
-php artisan migrate
+php artisan migrate --force
```
This should create the necessary databases.