-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Here’s how to get cncOnline and hugomatic (cncOnline uses hugomatic which has its own repository). This works if you have forked both repositries like this:
[email protected]:your_user_name/cncOnline.git
[email protected]:your_user_name/hugomatic.git
If you don’t want to modify anything, you can use the public links instead:
git://github.com/hugomatic/cncOnline.git
git://github.com/hugomatic/hugomatic.git
The cncOnline project relies on the hugomatic library, so you need to get the 2 projects, with the hugomatic folder inside the cncOnline folder:
$ git clone git://github.com/hugomatic/cncOnline.git
$ cd cncOnline
$ git clone git://github.com/hugomatic/hugomatic.git
To check that it works, try running the index:
$ python ./index.py
Index.py relies on the python editor “Idle” tree widget that may not be installed by default.
When you create a new python script, you should make it an executable by having
#!/usr/bin/python
as the first line, otherwise you won’t be able to run the code as a web page.
If you use Eclipse to hack cncOnline or the hugomatic libraries, here are some useful tips:
This will give you better auto completion support.
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.