Change - Linux

Created on Sept. 23, 2012, 12:50 a.m. by Hevok & updated on Jan. 19, 2013, 12:10 p.m. by Hevok

Linux is the most preferred system in which Denigma and the interaction with it can run. Denigma itself is currently in an <a href="http://www.ubuntu.com/">]Ubuntu</a> environment implemented.

In order to set up Denigma locally just do the following ¶
(Ubuntu or at least a UNIX environment is recommended): ¶

1. Git in: ¶

Go to the GIT bootcamp (sign up if you haven't already): https://github.com/ ¶

In brief on UNIX:: ¶

$ sudo su # Get full control about your machine. ¶
$ apt-get install git # Get (g)it! ¶

Configure Git with your name and e-mail:: ¶

$ git config --global user.name "FULL NAME" ¶
$ git config --global user.email email@address.com ¶

2. Fork Denigma:: ¶

$ git clone https://github.com/hevok/denigma ¶

3. Get the Might to Create Virtual Environments:: ¶

$ curl http://python-distribute.org/distribute_setup.py | python ¶
$ easy_install virtualenv ¶
$ cd denigma ¶
$ virtualenv env ¶
$ . env/bin/activate ¶

4. Prepare Environment:: ¶

$ apt-get update ¶
$ apt-get install python-dev libmysqlclient-dev # Latter is an optional database-backend ¶
$ apt-get install -y subversion ¶
$ pip install -r denigma/requirements/pre.txt # Prerequisite ¶
$ pip install -r denigma/requirements/project.txt ¶

5. Start Denigma:: ¶

$ ./manage.py syncdb --all ¶
$ ./manage.py migrate --fake ¶
$ ./manage.py runserver ¶

6. Change Denigma:: ¶

$ git commit -am "Brief description of the change." ¶
$ git push origin master ¶

7. Keep Denigma Updated:: ¶

$ git checkout master # Update to the latest version. ¶
$ git pull # Pull it from master.

Tags: content
Categories: Content Tutorial
Parent: Tutorials Tutorials
URL: /tutorials/development/
Images: tux.jpg

Comment: Updated entry

Comment on This Data Unit