3 ms·
That's what I meant, I would contribute a dockerfile, which people may use to run the application with one command. Would standard Laravel instructions to deplo
by positivecomment 9y ago
That's what I meant, I would contribute a dockerfile, which people may use to run the application with one command. Would standard Laravel instructions to deploy an app[1] help me here or do you need additional steps?
[1]: Maybe something like https://medium.com/laravel-news/the-simple-guide-to-deploy-laravel-5-application-on-shared-hosting-1a8d0aee923e https://medium.com/laravel-news/the-simple-guide-to-deploy-l... (first thing I could find)
- robinhood 9y agoIt would definitely help to follow the standard Laravel instructions. Wow I didn't expect there would be a demand for this. Interesting. I'd need to move out some of the code as well from the app (at the moment GA and Intercom are part of the codebase, I need to remove them).
- peller 9y agoJust tried setting it up, pretty simple assuming you're comfortable with Linux. You need MySQL/MariaDB, PHP >= 5.5.9 (see composer.json, require section for version requirements - worked with 7.1.x for me), node/npm, and composer (typically installed from getcomposer.org) Otherwise, directions at https://github.com/monicahq/monica#setup-the-project https://github.com/monicahq/monica#setup-the-project work with one exception: I'm not familiar with laravel in particular, but I had to do some funkyness with the the .env file: Replace APP_KEY=SomeRandomString with a valid key, like this random one I found on the internet: APP_KEY=base64:i7QndWbN33zY1x013Yw2cju9KQsxpT/1nnf8/3ziZ+U= Then run php artisan key:generate to get a new one. (Set DB credentials in .env as well) Finally, php artisan serve to fire up the dev server (uses php's builtin server)
- robinhood 9y agoThanks for this. I think I can probably make the instructions better so you can install it easily.
- owlmirror 9y agoEdit: Just saw at Github that you are planning all that. https://github.com/monicahq/monica/issues/30 https://github.com/monicahq/monica/issues/30 so nevermind --- Could you include in the instruction a way to set it up on a standalone apache or nginx machine without homestead, docker and all that firlefanz. I would like to just run it on my rusty cabinet server. --- Great work though.
- positivecomment 9y agoThanks! I will try to Docker-ize this when I have time.