4

i really dislike inheriting depricated projects😓.
really wanted to use angular 2 for current project but our hosting server is outdated and nodejs wont run on it.
realy wish we could update the server, but doing this would break 10 older sites we are being paid to host .

any ideas?

Comments
  • 2
    get a second server?
  • 1
    @chrome trust me, i have made this suggestion, my boss is not 'down' with it.
  • 2
    @nerd-san well then fuck this company :D
  • 2
    If you don't use TypeScript, you dont really need Nodejs. npm install angular 2 on some other machine and copy only the JS dependencies over to your server.

    Secondly, you can use different user shell with node points to a different path. Alway use Node Version Manager NVM from now on.
  • 1
    Frame the idea of an upgrade in a different way. If the hosting server is old tell your boss it's a security risk. If the boss doesn't do anything fake some logs and a rootkit and tell her that the box has been compromised.
  • 4
    docker
  • 0
    @heyheni How are they gonna run Docker if they can't even run node.js?
  • 1
    @binhex
    depends on what is outdatet, the servers hardware specs or it's software?
  • 2
    containers - docker., will be good choice. checkout that.
  • 4
    Why do you need node on the server. Just build your assets somewhere else and deploy a static site with a backed.
  • 2
    Unless you write your code on the terminal, build your site locally, create a build and upload it.
  • 0
    @binhex run rkhunter on default config and show the report. It'll be full of scary words about vulnerabilities that may or may not apply to your server setup.
  • 1
    I'm liking Docker too, although I'm thinking their problem is larger if the envs of the hosted apps are truly that mingled. Why would you think that no Node.js precludes Docker, @binhex?
  • 1
    Containers or not, you should not be compiling TypeScript on the production server, which means no Node.js is needed.

    But please, please, please - use TypeScript.
  • 1
    docker containers would be a good start.
Add Comment