-
Copy .env.docker.standalone to .env and adjust settings if necessary
-
Go to ./docker/standalone
-
Copy .env.example to .env and adjust the settings if necessary
-
Run the following command
docker-compose up --build --force-recreate -d
-
After the images are running successfully, run the following script to create the database
./after-build.sh
-
After that, run the last command (this will populate the database get everything ready)
./installation.sh
-
Go to http://localhost and the frontend page should show up
-
You can find the backend on http://localhost/backend and log in with
- User: [email protected]
- Password: admin
-
Go nuts!
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
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