I've downloaded telescope from github and I'm trying to install it on my website.
unfortunately I don't know how? I tried it on my mac with no problems
git clone git#github.com:TelescopeJS/Telescope.git
And
curl https://install.meteor.com/ | sh
To deploy use meteor deploy to deploy to the meteor servers.
Look at mup by arunoda for deploying to your own server.
There's also demetorizer.
Related
I'm working through the Heroku guide Connecting to a Heroku Postgres Database with Enhanced Certificates. heroku data:enhanced-certificates:enable DATABASE_URL -a example-app fails with the error
Warning: data:enhanced-certificates:enable is not a heroku command
I have checked that the data plugin is installed in the Heroku CLI. How do I list the commands available to this plugin? I have tried
heroku plugins:inspect
heroku plugins:inspect:data
heroku plugins:inspect data
heroku plugins:data:help
heroku plugins:data --help
heroku data:help
heroku data --help
but none of them work.
I installed heroku cli on windows 10 via exe installer.
When i try to run heroku --version command or heroku login
command, the command window does not respond. It does not give any error.
Then i uninstalled it and installed it using npm install -g heroku-cli
but getting same result.
Node version - 8.7.0
In Windows cmd prompt, do:
echo %USERPROFILE%
Go to your C:\Users\YOURNAME
Look for a file named:
_netrc
This file stores login credentials. Delete it.
Then check for an update:
heroku update
Then try to log in:
heroku login
I saw some people create an environment variable called HOME and add the path to YOURNAME so the environment knows to look for the _netrc file there.
Other trouble-shooting ideas if the above doesn't work for you can be found at Heroku CLI troubleshooting
In windows , run %LOCALAPPDATA%\heroku, completely delete this folder. and check again on cmd by typing heroku --version. Hope this helps.
I ended up uninstalling heroku from the Windows Installer and instead used the standalone tarball.
You can get the tarballs from here.
After you downloaded and extracted it, you can go to your terminal and cd into the directory where you extracted the file and do the following command:
./bin/heroku --version
Whenever you need the heroku CLI, you can cd into the directory where heroku is, then ./bin/heroku is the executable for heroku.
I tried to install rocket.chat on my shared hosting from godaddy, using ssh. But there were few permission erros. Is it possible to install without sudo access?
using
cd $HOME/rocketchat/bundle/programs/server
$HOME/meteor/dev_bundle/bin/npm install
The clue is in this line:
sh: nodejs: command not found
This means that nodejs isn't installed on the server. You can ask your hosting provider to install it, but they probably won't. You have a better chance of success looking for a hosting provider that is more nodejs/meteor friendly, such as Digital Ocean, AWS, etc. There are many out there.
I am running a Dokku app in production and need to know what version of the app is running on the server.
Is this possible with Dokku?
There's no need for a plugin.
All apps in dokku are git bare repositories. Just connect to your server, switch to the app directory (mine are in /home/dokku/<app-name>) and run a git log. That should do the trick as well.
To get the current git commit hash for a dokku app just run
dokku config:get <myapp> GIT_REV
Yes, you can add the SHA1 of the latest git commit using this plugin: https://github.com/dokku-alt/dokku-alt/tree/master/plugins/dokku-git-rev
There are many other alternatives based on different scenarios and different environments. If you are deploying Node.JS apps and using package.json properly, you can easily parse out the version using the fs standard lib; JSON.parse(fs.readFileSync('package.json')).version
You can also do dokku config:show myapp | grep GIT_REV to get it from the app's environment variables. The above command assumes your app name is myapp.
The fastest way to do this is to issue this command:
dokku config:get GIT_REV
This queries the server for the git revision that was most recently deployed. During deployment the GIT hash is set as an envirnoment variable, that's why it's possible to get with config:get.
You can also just bash into your doku app and echo $GIT_REV
I want to install wordpress on heroku and follow this tutorial(https://github.com/mhoofman/wordpress-heroku) I downloaded the toolbelt of heroku and got the git repo on my disk I also created a heroku account but when I want to add postgresql to it i get:
$ heroku addons:add heroku-postgresql:dev
! autoupdate in progress
! No app specified.
! Run this command from an app folder or specify which app to use with --app
<app name>
Why I do everything as stated in the tutorial;?
I appreciate your answer
Ok got it!!! I thought to complicated!!! I had to create an app first;P