mirror of
https://github.com/tjsga/website-2018.git
synced 2025-04-21 03:30:16 -04:00
update info
This commit is contained in:
parent
9cbd473981
commit
6e3363d0c3
15
README.md
15
README.md
|
@ -1,16 +1,21 @@
|
||||||
# SGA Website #
|
# SGA Website #
|
||||||
|
|
||||||
|
## Setting up Production ##
|
||||||
|
* Create a blank sqlite database with `sqlite3 db.sqlite3 ".databases"
|
||||||
|
|
||||||
## Installing ##
|
## Installing ##
|
||||||
* `bundle install --path gems/`
|
* `source env/bin/activate`
|
||||||
|
* `virtualenv -p python3 env`
|
||||||
|
* `pip install -r requirements.txt`
|
||||||
|
|
||||||
## Running ##
|
## 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 ##
|
## Editing Data ##
|
||||||
|
|
||||||
### Officer Information ###
|
### Member 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.
|
* Member Information is modified in the django admin interface at `/admin`.
|
||||||
* Each type of officer has a separate .json file, ExComm has `excomm.json`, for example.
|
|
||||||
* Sponsors have a -1 year to filter out the graduation year field in the generated website.
|
* Sponsors have a -1 year to filter out the graduation year field in the generated website.
|
||||||
* Officer bios are optional.
|
* Officer bios are optional.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user