All this project is in French only for the moment.
This project use this package for MajorityJudgement : Majority Judgement PHP See more details on majority jugement here : Wikipedia.
- Deploy projet on your webserver with git (or FTP width
develop branch
for the moment !).
With git :
git clone https://github.com/oceanBigOne/jm.git .
- Reset projet on develop branch :
git reser --hard origin/develop
-
Create
.env
file with.env.dist
modelChange access to your database in this line :
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
Change SALT_KEY with any string you want (!important for "hidding" link of vote)
SALT_KEY=XXXXXXXXXXXXXXXXXXXXXXX;
And set APP_ENV to "prod"
APP_ENV=prod
-
Then deploy BDD with :
php bin/console doctrine:migrations:migrate
-
Create
public/.htaccess
withpublic/.htaccess.sample
(check if config of your sever require somes changes) -
And clear symfony cache :
php bin/console cache:clear --no-warmup -e prod
- set cron with WGET to clear old data and generate result cache
* */6 * * * wget -q --delete-after [URL]/clear
* */1 * * * wget -q --delete-after [URL]/generate-results
That's all...
- add banner and link to new app
- bug fix : viewing result admin page can cache result data before the end of vote
- bug fix : counter of participations on result page
- security fix
- format vote card (bold , Italic , link and line break)
- update npm dependencies
- Strip poll
- Cached result (fix a performance problem)
- Add Mieux Voter Logo
- Shuffle array of choices on vote form
- Use abstractController interface instead of deprecated Controller Interface
- update bootstrap
- tar update
- Jquery update
- popper.js update
- English version (fixed translation)
- English version
- Remove links with Google Font and Youtube
- Start vote form : The limit of the number of candidates is now 100
- Result page : display the exact percentage instead of 50% in the explanation sentence
- Add Advanced option : Admin link, limit max users, send links by mail, Facebook sharing, asking name of users
- Bad default value on vote form
- Margin fix on header picture
- opportunity to vote a few minutes
- fix home : width of video (responsive problem)
- Design and ergonomics
- Composer Update (update version of MajorityJudgement package)
- Composer Update (update version of MajorityJudgement package)
- Use index to compare ex-eaquo
- Add index on result page
- Use MajorityJudgement 2.X instead of 1.X
- hotfix : Barchart height
- hotfix : maxlength to 150 chars for label choice
- hotfix : reverse label on Barchart
- update Barchart
- Create .htaccess.sample
- update htaccess : "force" HTTPS
- License
- fix version in readme
- spelling errors
- User interface update
- Initial version