update info

This commit is contained in:
willzhang05 2018-06-03 18:59:11 -04:00
parent e0b4fddc07
commit 61c7358711

View File

@ -1,16 +1,21 @@
# SGA Website #
## Setting up Production ##
* Create a blank sqlite database with `sqlite3 db.sqlite3 ".databases"
## Installing ##
* `bundle install --path gems/`
* `source env/bin/activate`
* `virtualenv -p python3 env`
* `pip install -r requirements.txt`
## Running ##
* `bundle exec jekyll serve --port $PORT` where `$PORT` is desired port.
* `source env/bin/activate`
* `python3 manage.py runserver $PORT` where `$PORT` is desired port.
## Editing Data ##
### Officer Information ###
* Officer information is contained within .json files in the _data/about subdirectory. Changes made in these files will be reflected on the generated website.
* Each type of officer has a separate .json file, ExComm has `excomm.json`, for example.
### Member Information ###
* Member Information is modified in the django admin interface at `/admin`.
* Sponsors have a -1 year to filter out the graduation year field in the generated website.
* Officer bios are optional.