Project sentech
To breathe new life into the Senegalese tech community (RIP DakarLUG), we're building the sentech.cc website in the open, based on Django.
We don't know where it will lead us, and we can use all the help we can get, so join us!
- blog/news
- community events
- forum / discussions (tied in with mailing list?)
- plane-style tech blog aggregation
- sign in with github / bitbucket (oauth)
You just need python, python-dev, virtualenvwrapper, pip and git installed on your system.
- Install virtualenvwrapper
$ sudo apt-get install python-pip (source ubuntu/debian)
$ sudo pip install virtualenvwrapper
- Configure virtualenvwrapper ** add to your bash profile
$ export WORKON_HOME=~/.virtualenvs
$ mkdir -p $WORKON_HOME
$ source /usr/local/bin/virtualenvwrapper.sh
- Reload your bash variables
$ source ~/.bashrc
- Activate your virtualenv (for instance, name it sentech)
$ mkvirtualenv sentech
# your prompt now indicates the active virtual env `` (sentech) ``
(sentech) $
- Set up the django project
# Head into the overall sentech virtualenv directory
(sentech) $ cd sentech
# Install the dependencies
(sentech) $ pip install -r requirement.txt
# Clone the sentech project from github
(sentech) $ git clone https://github.com/Sentech/sentech
# Go into your cloned sentech project
(sentech) $ cd sentech
# Set up a local settings file that won't be committed to the repo
(sentech) $ cp settings_local.py.sample settings_local.py
(sentech) $ cd ..
# Make manage.py executable so we can more easily call it
(sentech) $ chmod +x manage.py
# Set up a sqlite3 db
(sentech) $ mkdir db
(sentech) $ touch db/db.sqlite3
(sentech) $ ./manage.py syncdb --all
# In case you got an error setting up the db:
(sentech) $ ./manage.py migrate
(sentech) $ ./manage.py migrate --fake
- Run your local webserver
(sentech) $ ./manage.py runserver
You can now visit the project in your browser at http://localhost:8000