best practices for npm build and creating development and test architecture

coder
coder used Ask the Experts™
on
Hi Experts,

       I am working on an web application (wagtail cms) like django-cms, which is in aws ubuntu.  Its backend is postgres, with elastic search few modules reactjs and nodejs.
The application is deployed in docker containers.  uwsgi is the upstream server for nginx.

      I get lots of errors with npm build, i am not able to run the application.  sometimes ports are not accessible. postgres is using 5432, elasticsearch is 9200. react is rendering on 9009. I get lots of dependencies error.    At what situation I have to use dockers?  sometimes I get errors in nginx configuration. could please tell what is good practice for npm build, run deploy.  

    What is the best way to architect the development and test environment?

    Will I be able access the postgresql, elastic search and nginx in linux ubuntu on aws with cms source code and contents on windows local pc?   or having the copy of postgresql, elastic search, cms contents and nginx all on a windows pc as development environment environment.   Elastic search has huge data.  and how to deploy the application on dockers in linux environment.

    What is the best way to have a development environment?  what is best test environment

   could you please tell me on how elastic search data is stored on postgres and what is network host setting in elastic search how it accessed from outside application.

    Could you please throw light on how to create development and test environment.

with many thanks,

Bharath AK
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
coderdeveloper

Author

Commented:
Hi Moderator,

Thank you so much

With Thanks and Regards,

Bharath AK
Developer & EE Moderator
Fellow 2018
Most Valuable Expert 2013
Commented:
I do not use this CMS but will try and help. It seems you have a lot going on here.

The best thing to do is follow the instructions here on your local machine.  http://docs.wagtail.io/en/stable/getting_started/tutorial.html?#your-first-wagtail-site.  Stop at item 6) You can now access the administrative area at http://127.0.0.1:8000/admin

Once that is complete, go to the deployment docs http://docs.wagtail.io/en/v2.0/advanced_topics/deploying.html which includes a checklist of items https://docs.djangoproject.com/en/dev/howto/deployment/checklist/

At this point is where it seems you have some questions.  The best way to get help here is to stop at the first error. Then base your question off that one error and let the Experts know the steps you took and exact errors.

Right now, your query my be too general for the Experts to answer.  I hope this helps.
coderdeveloper

Author

Commented:
Hi Scott,

Thank you,

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial