miwo100 / tikki

time capturing for startups
0 stars 0 forks source link

build development pipeline on base of heroku #2

Closed miwo100 closed 7 years ago

miwo100 commented 7 years ago

please build a development pipeline like this one:

image

miwo100 commented 7 years ago

The integration grom github to travis already exists. So pls focus on the integration between travis and heroku.

miwo100 commented 7 years ago

On heroku, pls provide the following:

miwo100 commented 7 years ago

Accounts: github: miwo100 travis: über github anmelden heroku: michael-wolff@t-online.de

passwords follow as usual.

sbmueller commented 7 years ago

I have changed the .travis.yml file as well as created an app on heroku. Deployment of the code now works, but the app fails to start. Have to take a 2nd look, but AFAIK the app can not run without a token provided in graphqlServer/config/local.json

sbmueller commented 7 years ago

Ich habe immernoch Probleme, die App auf Heroku zu starten. Der aktuelle Fehler ist ng: not found wobei ng von der webApp aufgerufen wird. Ausserdem musste ich eine package.jsom im root-folder anlegen, damit Heroku die zwei Apps als eine erkennt. Da ich mich null mit Node auskenne, probiere ich da einfach blind rum. Ich habe noch das hier gefunden, wo empfohlen wird, keine node_modules Ordner in die Repo aufzunehmen: https://devcenter.heroku.com/articles/troubleshooting-node-deploys#don-t-check-in-generated-directories

sbmueller commented 7 years ago

@miwo100 making no progress here. Can't figure out what's wrong, but seems like a node issue. Still getting ng: not found while angular gets installed during build process.

miwo100 commented 7 years ago

ng seems to be angular-cli, try first to globally install angular-cli something like npm install angular-cli --global -- save

miwo100 commented 7 years ago

Or look for angular-cli and see how to install it...

sbmueller commented 7 years ago

I don't think this causes the issue, because

  1. I did't have to take any extra steps when running tikki locally
  2. I can see from the logs that angular gets installed during build
miwo100 commented 7 years ago

We are not using meteor anymore. We develop in the angular-cli environment. You cannot get it running without angular-cli

sbmueller commented 7 years ago

See https://github.com/miwo100/tikki/blob/pipeline/heroku.log for current error messages on heroku.

ThorstenCognovo commented 7 years ago

Update: This architecture won't be realised anymore but will be replaced by an architecture based on docker