- copy
.env.example
to.env
and adjust the file
$ cd bin
$ ./start_development.sh
Now open http://localhost
in your browser and follow the instructions.
When prompted for the database connection select Mysql
as Database type and enter the appropriate values for Mysql host, name, user and password as previously entered into the .env file.
Also create your admin user.
$ cd bin
$ ./start_production.sh
Application will run on port 9000
$ cd bin
$ ./stop.sh
$ cd bin
$ ./update_production.sh
This will:
- pull the latest code
- fix file permissions
- import config
- update the database
- clear the cache
$ cd bin
$ ./bash.sh
The terminal will run under the www-data
user.
Sometimes you get errors due to file permissions. To fix them do
$ cd bin
$ ./fix_permissions.sh