Deploy the backend and frontend on the same Heroku app/dyno

I just successfully completed this goal using static files created during a heroku postbuild step, as described in this blogpost. I have a React frontend (could be anything though) and Express API backend. Each process has its own port in dev, but deploying on Heroku uses just one total. Put the working frontend in a … Read more

VS2008 Setup Project: Shared (By All Users) Application Data Files?

I have learned the answer to my question through other sources, yes, yes! Sadly, it didn’t fix my problem! What’s that make me — a fixer-upper? Yes, yes! To put stuff in a sub-directory of the Common Application Data folder from a VS2008 Setup project, here’s what you do: Right-click your setup project in the … Read more

Best practice for nodejs deployment – Directly moving node_modules to server or run npm install command

Running npm install in production server cannot be done in certain scenario (lack of compiling tools, restricted internet access, etc…) and also if you have to deploy the same project on multiple machines, can be a waste of cpu, memory and bandwidth. You should run npm install –production on a machine with the same libraries … Read more

How to manually deploy a web service on Tomcat 6?

How to MANUALLY build and deploy a jax-ws web service to tomcat I was trying to figure out how to MANUALLY build and deploy a web service for learning pourposes. I began with this excellent article http://java.sun.com/developer/technicalArticles/J2SE/jax_ws_2/ (new URL: http://www.oracle.com/technetwork/articles/javase/jax-ws-2-141894.html) The idea was to do the whole thing using only a notepad and the command … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)