This website is written in python 3, using Django 1.8.5.
- systemd
- python 3.4+
- postgresql 8+
- virtualenv
- a wrapper to virtualenv (optional)
It is strongly recommended to use a virualenv to isolate your production or development environment from your system-wide python configuration.
To achieve this you can use the virtualenv python package.
Or a wrapper around virtualenv:
Wrappers are a more convinient way to manage your virtualenvs.
Once you have a working and activated virtualenv you can clone this repository.
:::console
cd /path/to/your/virtualenv
# using ssh:
git clone [email protected]:gconfs/gconfs-website.git
# using https:
git clone https://bitbucket.org/gconfs/gconfs-website.git
:::console
# Install the projects requirements
pip install -r requirements.txt
# Create the database and populate the tables
./manage.py migrate
# Launch the website
./manage.py runserver
# Enjoy, Test., start working.
:::console
# Execute the deployment script
./deploy.sh
If you ever need to change the settings, the website configuration can be found in gconfs_website/prod.py
- If you use the contact form, create a file gconfs_website/smtp.py and fill it using the default values in gconfs_website/settings.py
- You will also need recaptcha settings for the form to work. Create a file gconfs_website/captcha.py and fill it accordingly.
First you need to activate the virtualenv.
:::console
# if you use virtualenvwrapper:
workon my_env
# if you use pew:
pew workon my_env
You can find the issues that need to be resolved here
- confs
- contact
- homepage
- records
- statuts
- stream
- team