{"action":"opened","issue":{"url":"https://api.github.com/repos/osTicket/osTicket/issues/3310","repository_url":"https://api.github.com/repos/osTicket/osTicket","labels_url":"https://api.github.com/repos/osTicket/osTicket/issues/3310/labels{/name}","comments_url":"https://api.github.com/repos/osTicket/osTicket/issues/3310/comments","events_url":"https://api.github.com/repos/osTicket/osTicket/issues/3310/events","html_url":"https://github.com/osTicket/osTicket/issues/3310","id":170421981,"number":3310,"title":"CLI installation support","user":{"login":"tkteun","id":720395,"avatar_url":"https://avatars.githubusercontent.com/u/720395?v=3","gravatar_id":"","url":"https://api.github.com/users/tkteun","html_url":"https://github.com/tkteun","followers_url":"https://api.github.com/users/tkteun/followers","following_url":"https://api.github.com/users/tkteun/following{/other_user}","gists_url":"https://api.github.com/users/tkteun/gists{/gist_id}","starred_url":"https://api.github.com/users/tkteun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkteun/subscriptions","organizations_url":"https://api.github.com/users/tkteun/orgs","repos_url":"https://api.github.com/users/tkteun/repos","events_url":"https://api.github.com/users/tkteun/events{/privacy}","received_events_url":"https://api.github.com/users/tkteun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-10T13:50:15Z","updated_at":"2016-08-10T13:50:15Z","closed_at":null,"body":"There's currently no way to install osTicket from cli entirely.\r\n\r\nWhen I copy the ost-sampleconfig.php to ost-config.php and enter the db credentials, there's no way to add an agent / admin / staff member with manage.php.\r\n\r\nI have no idea what `php manage.php deploy` does, it doesn't seem necessary to run it with `--setup` or `-v`. When I manually import `osTicket/setup/inc/streams/core/install-mysql.sql` and add a staff member, I get failed update notifications in scp.\r\n\r\nMy preferred method of installation would be:\r\n> git clone https://github.com/osTicket/osTicket\r\n> cd osTicket\r\n> cp include/ost-sampleconfig.php include/ost-config.php\r\n\r\nEdit db credentials to an empty database.\r\n\r\n> php manage.php deploy --setup .\r\n> php manage.php agent add username 'email' '$6$rounds=656000$hashedpassword' firstname lastname --active yes --admin yes etc. etc.\r\n\r\nThen, `manage.php deploy` should pull the db credentials and prefix settings from ost-config.php without the need to enter these manually through a web interface.\r\n"}}
{"actor":{"display_login":"tkteun"}}