Coder Social home page Coder Social logo

Comments (5)

purplecones avatar purplecones commented on May 21, 2024

Hi @johhansantana, can you deploy with -d flag and forward us the output?

from meteor-now.

johhansantana avatar johhansantana commented on May 21, 2024

Sure @purplecones

$ meteor-now -e MONGO_URL=mongodb://... -e MAIL_URL=smtp://... -e NODE_ENV=production -d
[METEOR-NOW] - running command: meteor build .meteor/local/builds  --architecture=os.linux.x86_64
[METEOR-NOW] - creating Dockerfile            
[METEOR-NOW] - splitting bundle
[METEOR-NOW] - looking for meteor settings file production.settings.json in root of project
[METEOR-NOW] - could not read production.settings.json
[METEOR-NOW] - no settings file found
[METEOR-NOW] - running command: cd .meteor/local/builds && now -e PORT=3000  -e ROOT_URL=http://localhost.com -e MONGO_URL=mongodb://... -e MAIL_URL=smtp://... -e NODE_ENV=production -d 
> Deploying ~/path/to/app/.meteor/local/builds
> [debug] `Dockerfile` found, assuming `deploymentType` = `docker`
> [debug] locating files /path/to/app/.meteor/local/builds: 7.485ms
> [debug] Getting files: 16.676ms
> [debug] Computing hashes: 158.768ms
> [debug] /now/create: 1430.832ms
> Ready! https://example-jsbzxietoa.now.sh (copied to clipboard) [2s]
> [debug] Will upload 14 files in 2 steps of 10 uploads.
> Upload [====================] 100% 0.0s
> Sync complete (12.44MB) [42s] 
> Initializing…
> [debug] closing agent
> Building
> ▲ docker build
> Removing intermediate container 9c1b700376a3
> Step 10 : EXPOSE 3000
>  ---> Running in ba0ec7211601
>  ---> 441604a22373
> Removing intermediate container ba0ec7211601
> Step 11 : CMD node main.js
>  ---> Running in 9518d60bb4cb
>  ---> f4eba08cce4c
> Removing intermediate container 9518d60bb4cb
> Successfully built f4eba08cce4c
> ▲ Storing image
> ▲ Deploying image
> ▲ Container started

there are a few other Docker logs but they seem to be scrolling on their own iframe for some reason after docker build there were more steps but could only copy from step 10

from meteor-now.

johhansantana avatar johhansantana commented on May 21, 2024

Here's a gif with the docker logs
dockerlogs

from meteor-now.

johhansantana avatar johhansantana commented on May 21, 2024

Hmm this is weird, I just tried deploying another app which has v1.2.1 as well installed but this one has [email protected] and it worked. I'm going to try updating the other one to the same version and see if something changes.

Edit
That didn't work. Is there a way to check for logs?

from meteor-now.

purplecones avatar purplecones commented on May 21, 2024

Try #42 for logging.

I just deployed a 1.4.3.2 app without issues. We also initially did some tests with early meteor versions prior to 1.2 and it worked. Will check exactly 1.2.1 later.

from meteor-now.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.