Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
vms:invoiceninja [2015/09/04 02:40] admin [Create a New Nginx Server Block] |
vms:invoiceninja [2015/09/04 02:58] (current) admin [Backup the Database] |
||
|---|---|---|---|
| Line 269: | Line 269: | ||
| > ln -s /etc/nginx/sites-available/<ininja> /etc/nginx/sites-enabled/<ininja> | > ln -s /etc/nginx/sites-available/<ininja> /etc/nginx/sites-enabled/<ininja> | ||
| > service nginx restart | > service nginx restart | ||
| + | </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> | </code> | ||