Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danhper/net-portal
https://github.com/danhper/net-portal
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/danhper/net-portal
- Owner: danhper
- License: wtfpl
- Created: 2012-12-19T15:47:10.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-22T06:25:00.000Z (about 11 years ago)
- Last Synced: 2024-04-14T11:08:01.897Z (9 months ago)
- Language: JavaScript
- Size: 7.47 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Net Portal 2.0
Replacement for Waseda Net Portal to get a usable interface.
Only the Course Navi module is being developed at the present. Other modules will come later.## Local install
### Dependencies
As Django does not support Python 3 yet, all the code are written in Python 2.* [Python 2](http://www.python.org/download/)
* [Django 1.4](https://www.djangoproject.com/download/) ``pip install Django``
* [Psycopg 2](http://pypi.python.org/pypi/psycopg2) ``pip install psycopg2``
* [BeautifulSoup4](http://www.crummy.com/software/BeautifulSoup/bs4/doc/) ``pip install beautifulsoup4``
* [lxml 2.3](http://lxml.de/index.html#download) ``pip install lxml``
* [python-rsa 3](http://stuvel.eu/files/python-rsa-doc/installation.html) ``pip install rsa``
* [django-debug-toolbar](https://github.com/django-debug-toolbar/django-debug-toolbar) ``pip install django-debug-toolbar``These dependencies can be installed automatically by running.
python2 setup.py develop
Postgresql needs to be installed and `pg_config` available on the path for psycopg2 to be installed properly.
### Installation
Runpython2 scripts/parse_subjects.py
to generate the initial database data (it may take a while) and
python2 scripts/generate_keys.py OUTPUT_DIR
to generate RSA keys to use in the program.
Check the database settings in `src/net_portal/settings.py` and sync the database (it may take a while) by running
python2 src/django_app/manage.py syncdb