Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
fc78552b
Commit
fc78552b
authored
Oct 20, 2012
by
Guyzmo
Browse files
Merge branch 'master' of
https://github.com/stef/nnmon
into api_branch
parents
9697afb3
51b12988
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
fc78552b
*.db
*.pyc
README.md
0 → 100644
View file @
fc78552b
nnmon the bugtracker for teh internetz
======================================
nnmon is the project running
[
respectmynet.eu
](
http://respectmynet.eu/
)
.
Installation
------------
See
[
/docs/SETUP.md
](
nnmon/blob/master/docs/SETUP.md
)
docs/SETUP.md
0 → 100644
View file @
fc78552b
SETUP
=====
This describes how to setup the nnmon dev environment
Install the base dependencies
-----------------------------
Install the following packages:
sudo aptitude install python-sqlite python-ooolib python-imaging
Install the base python virtualenv tools:
sudo apt-get install python-setuptools
sudo pip install virtualenv
sudo pip install virtualenvwrapper
You don't use the virtualenv/virtualenvwrapper tools yet
--------------------------------------------------------
Create a directory to hold the virtual environments:
mkdir ~/.virtualenvs
Add to your .bashrc (or equivalent) the following lines:
export WORKON_HOME=$HOME'/.virtualenvs'
source /usr/local/bin/virtualenvwrapper.sh
Then run the following command:
source ~/.bashrc
This will end up creating (relatively large) folders in ~/.virtualenvs
where all the projet dependencies will be installed.
Setup your virtual environment
-----------------------------
Create the virtualenv for nnmon and workon it:
mkvirtualenv --system-site-packages --distribute nnmon
Install nnmon's depdendencies:
pip install -r pip-requirements.txt
Run the server
--------------
cd ../nnmon
python manage.py syncdb # run the database migrations
python manage.py runserver 8080
Your application is available on
[
http://localhost:8080/
](
http://localhost:8080/
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment