Screencast for the Vietnamese developers gsviec.com
- Docker
- Docker-compose
- NodeJS and Npm
Step 1: Clone repo:
git clone [email protected]:gsviec/video.git
Step 2: Start the development environment
docker-compose up -d
Then waiting a moment to download on image. After Docker compose install success full, now we can install Gsviec PHP depedencies by the command below.
Step 3: Install dependencies
docker-compose exec php php composer.phar install
We use Grunt for compiling frontend assets. Please check the Node and npm version:
➜ node -v
v8.10.0
➜ npm -v
3.5.2
Install grunt and and some dev plugins by the command:
npm i -D
Notice:
If you have problem when install npm, please check permission of node_modules repository.
After that just running following:
grunt
If you want to deploy via ansible:
ansible-playbook -i hosts/production/inventory deploy.yml
To test preview before send to all users:
php cli SendDigest
When the template is ok,you can runing agian a command above with option
php cli SendDigest main send
php cli Queue
The MIT License (MIT).