Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vms:invoiceninja [2015/09/04 02:28]
admin [Create a New Nginx Server Block]
vms:invoiceninja [2015/09/04 02:58] (current)
admin [Backup the Database]
Line 238: Line 238:
     location ~ \.php$ {     location ~ \.php$ {
         fastcgi_split_path_info ^(.+\.php)(/​.+)$;​         fastcgi_split_path_info ^(.+\.php)(/​.+)$;​
-        fastcgi_pass unix:/​var/​run/​php5-fpm-your_user.sock;+        fastcgi_pass unix:/​var/​run/​php5-fpm-ininja.sock;
         fastcgi_index index.php;         fastcgi_index index.php;
         include fastcgi_params;​         include fastcgi_params;​
Line 271: Line 271:
 </​code>​ </​code>​
  
 +----
 +===== Start Using Invoice Ninja =====
 +----
 +
 +Directing a web browser to your VM's IP should now display the **Invoice Ninja Setup** page, enjoy !
 +
 +----
 +==== Backup the Database ====
 +
 +For development purposes it might sometimes be usefull to make a backup of the database at a certain state. To do that, use the ''​%%mysqldump%%''​ command:
 +
 +**backup**:
 +<​code>​
 +> mysqldump -uininja -p ininja > /​path/​to/​ininja-state.sql
 +Enter password:
 +</​code>​
 +
 +**restore**:​
 +<​code>​
 +> mysql -uininja -p ininja < /​path/​to/​ininja-state.sql
 +Enter password:
 +</​code>​