Closed ksraj123 closed 3 years ago
@vaibhavdaren suggested changes made, Please review again and merge. Thanks
Nice work Champ @ksraj123 🥇 👍
Merge after adding how to run on localhost?
This playbook uses nginx to serve the built and bundled frontend. Would this be right approach to setup donut locally? As the contributors wont be able to see the changes they have made unless they re-execute the playbook. Also, I guess it might result in a lot of issues of the user already has some version of dependencies installed on his local machine. I think we can merge this for now, and create a separate playbook for localhost which uses Docker (as there would be little to none network overhead with Docker on localhost) I am working on revamping the Dockerfiles for frontend and backend and a playbook to install docker, create the organisation and executing the required commands to start donut. This would allow a development setup to be started with a single command which would allow contributors make and test their changes easily. Thanks
Note:- what localhost setup should do [1] mongodb [2] npm [3] clone repo
Ansible Playbook for deployment on Digital Ocean Linked frontend PR: https://github.com/codeuino/social-platform-donut-frontend/pull/628
Problem
An Ansible playbook wanted upon whose execution Donut frontend and backend would be deployed onto a digital ocean droplet.
Solution of problem
Ansible playbook created.
Type of Change
Checklist