Skip to content
hugomatic edited this page Sep 13, 2010 · 15 revisions

How to run with git:

Here’s how to get cncOnline and hugomatic (cncOnline uses hugomatic which has its own repository)

[email protected]:your_user_name/cncOnline.git
[email protected]:your_user_name/hugomatic.git

If you don’t, you can use the public links instead:

git://github.com/hugomatic/cncOnline.git
[email protected]:your_user_name/hugomatic.git

The cncOnline project relies on the hugomatic library, so you need to get the 2 projects:

$ git clone [email protected]:your_user_name/cncOnline.git
$ cd cncOnline
$ git clone [email protected]:your_user_name/cncOnline.git

To check that it works, try running the index:
$ python ./index.py

On Linux, the index.py should be executable so you don’t need to type ‘python’. When you create a new python script, you should make it an executable have
#!/usr/bin/python

as the first line, otherwise you won’t be able to run the code as a web page.

Eclipse tips:

Set the project root directory as a source folder:
Select the project node and press ALT + Enter to open the proerties view
Select PyDev – Python path from the left list
Press the Add source folder button, select the project root.

Clone this wiki locally