This is an open sourse release of a representative site for Kiuss Collective built using Django framework. You can freely use templates and styles or the entire code to make your own gallery sites.
You need to have these packages to be installed on your computer:
- python 2.7
- pip
- virtualenv
These packages are also required and could be installed with pip using requirements.txt
file:
- Django 1.8
- Pillow
- sorl-thumbnail
To do so, run
[sudo] pip install -r requirements.txt
To deploy this project on you machine just clone the repo:
git clone https://github.com/chschtsch/kiuss.git
Then create your local_settings.py
file in kiuss
directory using local_settings_example.py
example.
Also, read the docs for Django 1.8, used in this project.
To set up your virtual environment, just run
virtualenv env
source env/bin/activate
pip install -r requirements.txt
This will create env
directory in project root and install all required packages locally.
For more information on usage read virtualenv docs.
You can always customize your site to run apache2, nginx or whatever you need. But here is how to make initial set up and a test run on development server.
First of all, set up database by running
python manage.py syncdb
For the first run use built-in dev server:
python manage.py runserver
Now you should have working app. Open yoursitename.com/admin/
to add artworks and admin the site.
Also, you're always welcome to fork this project!
The project itself is licensed under MIT License.
jQuery, jQuery mousewheel plugin and jQuery nicescroll plugin, used in this project, are licensed under MIT License.
Fancybox is licensed under CC BY-NC 3.0.