-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from gauthamzz/hint
Hint section added
- Loading branch information
Showing
7 changed files
with
97 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
*.py~ | ||
*.sqlite* | ||
wsgi/venv | ||
wsgi/stegolica/stegolica/settings.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,61 @@ | ||
Python-Django based online event platform. | ||
Python-Django based online event platform named stegolica | ||
|
||
This was used as backend for [stegolica](http://stegolica.effe.org.in) 2016 part of [effervescence](http://eff.org.in) | ||
> Hosting can be done at openshift and webapp is optimised for that. | ||
You can reuse this code for any online event. Change the front end at wsgi/stegolica/templates/ | ||
# Features | ||
|
||
Hosting can be done at openshift and webapp is optimised for that. | ||
1. Question page with hint | ||
2. Ranking page | ||
3. Login and register page | ||
|
||
use these commands to run | ||
----------------------- | ||
1. cd wsgi/stegolica | ||
2. python manage.py runserver port(8000 is the default) | ||
Frontend | ||
-------- | ||
Uses [materializecss](http://materializecss.com/) and particle.js | ||
|
||
About stegolica | ||
--------------- | ||
Stegolica was an online stegnography competition. You can find all quesitons and answers at [my blog post](https://gauthamzz.github.io/2016/10/18/stegolica/) | ||
|
||
New to this | ||
---------- | ||
go to wsgi and create a virtualenv | ||
|
||
`cd wsgi` | ||
`virtualenv venv` | ||
`source venv/bin/activate` | ||
|
||
create a database | ||
|
||
`createdb stegolica` | ||
|
||
enable settings, fill in your username and password in settings.py | ||
|
||
`cd stegolica` | ||
`cp dev-settings.py settings.py` | ||
|
||
Run it | ||
|
||
`python manage.py runserver` | ||
|
||
go to `127.0.0.1:8000` to view | ||
|
||
|
||
> for deployment i openshift use dev.py. | ||
Wanna help | ||
--------- | ||
you can help by | ||
|
||
1. finding out issues | ||
2. fixing issues already in the issues section | ||
|
||
Template design | ||
-------------- | ||
## main page | ||
|
||
![alt text](http://i.imgsafe.org/87195dec93.png) | ||
|
||
## login page | ||
|
||
![alt text](http://i.imgsafe.org/871922cf5d.png) | ||
|
||
## Question page with hint | ||
|
||
![alt text](http://i.imgsafe.org/879d151076.png) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
wsgi/stegolica/website/migrations/0009_auto_20161220_0533.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.10.2 on 2016-12-20 00:03 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('website', '0008_auto_20161012_0013'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='question', | ||
name='hint1', | ||
field=models.CharField(default='No Hints', max_length=300), | ||
), | ||
migrations.AlterField( | ||
model_name='question', | ||
name='imagelink', | ||
field=models.CharField(default='No Image', max_length=300), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters