-
Notifications
You must be signed in to change notification settings - Fork 2
Setting up your own development environment
THIS PAGE IS NOT COMPLETE. See https://github.com/t-oster/VisiCut/wiki/Development:-Getting-started
First of all we need to set up Netbeans.
Vist the Netbeans download section: http://netbeans.org/downloads/index.html .
This should look like this:
[screenshot: NetBeans download section]
Now you can choose your language and your operation system. Download the Java SE.
Open Netbeans after installing it. We will need it later.
If you use Windows you will need to install git too.
Just visit this page http://windows.github.com/ and press the download button.
To get Visicut we need to open the terminal.
First type in the address where you want to save Visicut.
cd some/path/for/repositories
Now enter git clone --recursive git://github.com/t-oster/VisiCut.git
if this works and it doesn't say `error: unknown option 'recursive' usage: git clone [options] [--] [
-q, --quiet be quiet
-v, --verbose be verbose
-n, --no-checkout don't create a checkout
--bare create a bare repository
--naked create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--template <path> path the template repository
--reference <repo> reference repository
-o, --origin <branch>
use <branch> instead of 'origin' to track upstream
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
`
you are lucky and can skip a few steps until you see -)(-
Otherwise you need to type in git clone git://github.com/t-oster/VisiCut.git
Type in VisiCut
The output line should say this fm@chambers:~/yourpath/VisiCut
Then type in git submodule init
The terminal should answer
Submodule 'lib/LibLaserCut' (git://github.com/t-oster/LibLaserCut.git) registered for path 'lib/LibLaserCut'
Now enter git submodule update
If it answers
Initialized empty Git repository in /Users/fm/NetBeansProjects/VisiCut/lib/LibLaserCut/.git/ remote: Counting objects: 1243, done. remote: Compressing objects: 100% (376/376), done. remote: Total 1243 (delta 632), reused 1130 (delta 519) Receiving objects: 100% (1243/1243), 3.30 MiB | 432 KiB/s, done. Resolving deltas: 100% (632/632), done. Submodule path 'lib/LibLaserCut': checked out '27d7f3e8bbe0b229ea23d3a54a38f0998ab50a41'
you are done.
-)(-
Now you need to open your project with Netbeans. If you did everything right it should look like this:
[screenshot: Netbeans open Visicut]
Then you open LibLasercut as a new project in Netbeans.
You can find it under Visicut/lib/Liblasercut .
[screenshot: Open LibLasercut]
Now you finished the basic set up of Visicut.