Install from Github [closed] - github

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I am trying to download and install an app called "code printer" from Github but there seems to be no setup. I have installed the Git app on my Windows computer and it has been configured with my username and email ID. I have downloaded the files to my computer from the website. I am unsure about how to proceed. I am new to github and a step by step procedure would greatly help. Thank you.
This is the url where the app can be found : https://github.com/jaredpetersen/codeprinter

On each Github projects, developers often leave a README.md file in the root of their repository to give more details about their project. This is the case for that one: https://github.com/jaredpetersen/codeprinter/blob/master/README.md
In 90% of the time, they offer installation instruction on how to build and install their project on your own computer. Code Printer, for example, seems to have this section in particular. They even have a ready to use hosted version there: http://jaredpetersen.github.io/codeprinter/.
In the "Usage" section, there is two key important things to note. The first one, the technology used to develop this software, which is Node.js, then it is followed by the list of command lines to run under a command prompt in order to build and run the software. Node.js includes, once installed on your computer, npm, the Node.js package manager. This package manager is necessary to build and run the software.
So in short:
Download & install Node.js: https://nodejs.org/en/. If you have the
Chocolatey package manager on your computer, you can alternatively
install it with the command "choco install nodejs-lts".
Open a command prompt and then navigate to the project's folder on your computer. Be sure to open it after the installation of Node.js.
You can test if the installation is successful by typing "npm" then
enter to see if npm respond to the command. If not, maybe your path
environment variable isn't pointing to the executable. Just make sure
it is.
Type
npm install
npm run build
npm start
in the command prompt
Enjoy!
If something is still unclear, simply leave a comment and I will add more details in this answer.

The instructions are on the page you linked to
npm install
npm run build
npm start
You will need to have Node.JS installed for npm to work.

Related

Svelte use compiler cloned from GitHub [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I know this message might sound stupid.
But I'm trying to play around a bit with the Svelte Compiler from GitHub https://github.com/sveltejs/svelte. I cloned and installed everything just like in the Instructions. But how can I now use the compiler to run a Project I programmed in Svelte?
You can use a local version of a project in another project with npm link.
In the case of Svelte, you also need to ensure that you rebuild after any change (to Svelte). You can generally find the build script in the scripts section of package.json. For Svelte, it's npm run build, or npm run dev to watch & rebuild as you change.
git clone git#github.com:sveltejs/svelte.git svelte
cd svelte
npm install
npm link
npm run dev # watch & rebuild
In another terminal:
npx degit sveltejs/template my-app
cd my-app
npm install
npm link svelte # <--------- here
ls -l node_modules | grep svelte # confirm svelte is a symlink
npm run dev
You would have to link the local version of your repositories:
In the Svelte repository:
npm link
In the project repository:
npm link svelte
(this should give some feedback where you see you are linking to a local version)
This should setup your project to use the local version of Svelte
https://docs.npmjs.com/cli/link.html

Where do I get an offline installer for PadWalker? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm using Eclipse with Perl (ActivePerl) on a PC without an Internet connection. It was quite tricky to add EPIC Perl into Eclipse, but this works fine.
Now I'd like to add the PadWalker debugger to my Perl installation - but I need an offline installer.
I found some information at:
http://perlmaven.com/padwalker
How do I install PadWalker using CPAN (cpan PadWalker) or PPM (ppm install PadWalker), but it is only specified for online installation.
Even the hint with the proxy system variable (incl. username + password) doesn't work, as there isn't any Internet connection on this PC.
So wherefrom can I get an offline installer for PadWalker? Or wherefrom can I download a ZIP archive to put it to the local repository that can be defined within the PPM (Perl package manager)?
Here's a quick version.
Go to any facility that has an Internet connection, and search CPAN for PadWalker.
The latest version is v2.2 and is documented here.
On the right of that page is a link to the latest gzipped release, currently PadWalker-2.2.tar.gz.
Copy that file to your target system.
You should download that file and follow the directions in perldoc perlmodinstall, which are essentially:
Unzip the compressed file
Unpack the tar contents
cd to the unpacked directory, and do
perl Makefile.pl
make test
And, if the tests were successful
make install

In Ubuntu, is it a good idea to launch eclipse with sudo? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I used maven to download mahout and hadoop recently. Because I could not seem to do that without using sudo mvn commands, eclipse could not seem to be able to use anything I had downloaded (there were lots of errors like parents of things like POM.xml being permission denied etc.) and more recently than that I was trying out mahout (with local jars downloaded directly from one of apache's mirrors, not from maven) and although I could run the class the first time, I couldn't do it again because my eclipse instance could not overwrite the file I had already written.
These are just examples of times I feel it would have been good to be running eclipse as superuser by doing
sudo eclipse
Instead of just launching it normally. The only problem I can think of is that as root eclipse suggests you use the root/workspace, but is it ok to just tell it to use yourusername/workspace?
In general- no. It's tempting, but not very good practice to do all of your development as the superuser. If you're running Eclipse as root, then you're also launching Java processes as root when you run your software. (You could change your Java run settings to sudo back to a regular user before running, but I wouldn't recommend that as a solution).
In addition to being a security risk, you are also making it difficult to track down bugs if you want to distribute the software to others to run as non-root (e.g. doing root only things like reading a protected file or using a well known port might work for you, but not for the average user).
I recommend finding the files that are causing issues and doing chmod o+r on them.

PostgresQL windows installer - blank screen- [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Been trying to install Postgres version 9.2.4-1 on my desktop (Vista x32). Downloaded the installer but upon running the .exe a blank window came up with the installer name as title.
This was strange as the installer worked fine on my office pc, also running vista x32. I've tried googling but there are no solutions abound. I've tried the following steps:-
redownloaded the installer. no dice.
downloaded older versions of the installer and the x64 version (same problem)
fully updated vista.
ensured admin rights
tried running from command line.
disabled UAC and windows firewall.
event logs did not show anything nor was there an install-postgresql.log in the %temp% folder.
Disabled antivirus
Followed the FAQ on common installation errors.
my user variable PATH:
C:\RailsInstaller\Git\cmd;C:\RailsInstaller\Ruby1.9.3\bin;C:\Program Files\Java\jdk1.7.0_15\bin;C:\Program Files\MySQL\MySQL Server 5.6\lib
been going crazy trying to figure this out! please help.
As the installation is hung\incomplete in your case install log names should be bitrock_installer.log or bitrock_installer_xxx.log, where xxx is a number (the process ID of the installation attempt). Please check the %temp% dir for this file. This will log all manner of data about the installation, and is invaluable when troubleshooting. The log will be called install-postgresql.log if the installation completed successfully. If not, the installer may not have been able to rename it, in which case the name will be either bitrock_installer.log or bitrock_installer_xxx.log, where xxx is a number.
SOLVED!
right click on .exe
run as administrator
Apparently running the installer on an administrator account wasn't enough. Which was odd as I could just run the installer on my office pc without jumping through this additional hoop. Can't believe I just spent hours on this non-issue!
Thanks for the quick responses!

Install PSCX with PowerShell [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I want to install the PowerShell Community Extensions using only the command-line.
I don't want to use a UI, no right-click extract, double-clicking an MSI file. I have to do this process on dozens of computers. However, all of the instructions I've found involve all of this clicking and downloading.
I'm looking for a series of PowerShell commands that can complete the installation. Ideal solution would be completely self-contained: download file X & install. I would like to avoid copying local versions to the given server.
Requirement of Admin access is fine.
Clarifications:
I'm starting from a blank computer, with PoSH 2.0 installed. I'm logged in via PsSession.
I'm looking for a series of PoSH commands, not a list of instructions.
I'm actively trying to avoid "Open IE and download a file", that's the anti-thesis of a shell.
Edit for 2014
I would now do this with Chocolatey.
Chocolatey has a one-line download & install command followed by an additional command in to install PSCX.
PSCX (2.0) is available as a zip and all you have to do is copy the contents of the zip file to your modules folder -$env:Home\Documents\WindowsPowerShell\Modules ( for user) or $PSHome\Modules (for system) - and when you want to use it, issue import-module pscx.
Read the release notes for more details.