Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images not shown in dev #534

Closed
fonsich opened this issue Aug 21, 2015 · 14 comments
Closed

Images not shown in dev #534

fonsich opened this issue Aug 21, 2015 · 14 comments

Comments

@fonsich
Copy link
Contributor

fonsich commented Aug 21, 2015

Hi,

no images are shown in dev enviroment. How can i set the ROOT_URL when i want to start up with meteor?

@rodrigok
Copy link
Member

You can start meteor as:

ROOT_URL=http://myurl.com meteor

@fonsich
Copy link
Contributor Author

fonsich commented Aug 21, 2015

I tried already, command not found ROOT_URL

@rodrigok
Copy link
Member

Which SO are you using?

@fonsich
Copy link
Contributor Author

fonsich commented Aug 21, 2015

Im running on Windows. Everything works fine just the ROOT_URL is giving me trouble

@rodrigok
Copy link
Member

So, I don't know how to use env variables in Windows :(

You can try this http://superuser.com/questions/223104/setting-environment-variable-for-just-one-command-in-windows-cmd-exe

@Sing-Li
Copy link
Member

Sing-Li commented Aug 21, 2015

@Sing-Li
Copy link
Member

Sing-Li commented Aug 21, 2015

@fonsich - pls close issue if you got it working - thx

@fonsich
Copy link
Contributor Author

fonsich commented Aug 21, 2015

Thanks, i could set the Var but still don't see any Avatars or Image uploads.
It still says running on localhost:3000
I also did reboot

@Sing-Li
Copy link
Member

Sing-Li commented Aug 21, 2015

are you running meteor from the same command window that you set the ROOT_URL ?

@fonsich
Copy link
Contributor Author

fonsich commented Aug 21, 2015

Yes exactly

@Sing-Li
Copy link
Member

Sing-Li commented Aug 21, 2015

When you type 'set' alone in the command window, make sure you see the ROOT_URL env set correctly. I just fired up an old windows laptop and tried.

The meteor sessions should indicate => App running at: your_root_url

@Sing-Li
Copy link
Member

Sing-Li commented Aug 21, 2015

Also 'echo %ROOT_URL%' should print the value you expect.

@Sing-Li
Copy link
Member

Sing-Li commented Aug 21, 2015

If 'echo %ROOT_URL%' did not print the correct value. You've probably added a space after the name. Make sure there is no space before and after the equal sign.

@fonsich
Copy link
Contributor Author

fonsich commented Aug 21, 2015

Thanks worked for me. Muito Obrigado!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants