Skip to content
/ lnldb Public
forked from WPI-LNL/lnldb

Getting rid of that 12+ y.o. perl mess.

License

Notifications You must be signed in to change notification settings

jmerdich/lnldb

 
 

Repository files navigation

LNLDB

Intro

LNLDB runs under Python2.x and Django.

To Install (Testing)

  1. Install required system packages (by reference of a barebones Debian build; adjust for your system)
sudo apt-get install python2.7 python2.7-dev python-pip git mysql-server libmysqlclient-dev
  1. Get the sources
git clone https://github.com/jmerdich/lnldb.git
cd lnldb
  1. Install Python packages
sudo pip install -r reqs.txt
  1. Setup your database
mysql -u root -p
CREATE DATABASE lnlsql;
GRANT ALL PRIVILEGES ON lnlsql.* TO lnl@localhost IDENTIFIED BY 'password';
exit;
  1. Create a local_settings.py with your settings Take the pieces of lnldb/settings.py that need to change and put it in lnldb/local_settings.py. That makes it easy to spawn a local copy without messing with other coders' settings.

  2. Initialize the database

python manage.py syncdb
python manage.py migrate
python manage.py loaddata groups.json
python manage.py loaddata categories.json

Notes

All server-specific code hasn't and won't be included. Use local_settings.py All views have their functionality written out in """ """

About

Getting rid of that 12+ y.o. perl mess.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.7%
  • HTML 35.4%
  • CSS 7.9%