Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 1.37 KB

readme.md

File metadata and controls

55 lines (46 loc) · 1.37 KB

About PartyMeister

Installation

CronJob

To correctly populate release files and files for the competition organizers to work with, set this in your crontab.

* * * * * php /path-to-your-pm3-installation/artisan schedule:run >> /dev/null 2>&1

rough dev setup

partymeister:
	clone partymeister-template
	mkdir packages/
	clone 
		motor-cms/motor-core
		motor-cms/motor-backend
		motor-cms/motor-media
		motor-cms/motor-cms
		motor-cms/motor-docs
		partymeister/partymeister-core
		partymeister/partymeister-accounting
		partymeister/partymeister-slides
		partymeister/partymeister-competitions
		partymeister/partymeister-frontend
	sudo ln -s /usr/bin/composer /usr/local/bin/composer
	cp .env.docker .env
	./update_dev.sh
	nvm use 12
	npm install
	npm run package-dev-prod
	start mysql docker https://bitbucket.org/tastaturundmausev/mysql-80/src/master/
	cp .env.example .env
	docker/after-build.sh
	# ./installation.sh
	./update-dev.sh
	
	in container:
		su application
		cd /app
		php artisan migrate:fresh
		php artisan db:seed

	start chrome webdriver in container: 
		su application -c "php /app/artisan partymeister:slides:webdriver start"
		/chromedriver/chromedriver &
		mkdir /app/entries
		make cronjob run in docker
			echo "* * * * * php /app/artisan schedule:run >> /tmp/partymeister-cron.log" >> /etc/cron.d/partymeister
			/etc/init.d/cron restart

License