Skip to content

Instantly share code, notes, and snippets.

@kklecho
Created December 8, 2019 23:25
Show Gist options
  • Save kklecho/041ed7b6a5197b13de7dfd09517a22f3 to your computer and use it in GitHub Desktop.
Save kklecho/041ed7b6a5197b13de7dfd09517a22f3 to your computer and use it in GitHub Desktop.
## no composer?
# curl -s https://getcomposer.org/installer | php
# mv composer.phar ~/bin/composer
## no symfony?
# wget https://get.symfony.com/cli/installer -O - | bash
# echo '# KL Symfony instalation' >> ~/.bashrc
# echo 'export PATH="$HOME/.symfony/bin:$PATH"' >> ~/.bashrc
# no npm? use latest lts of node, today it's 12
# see https://nodejs.org/en/download/
# sudo snap install node --classic --channel=12
# restart shell
symfony check:requirements
# install php extensions if not there
# sudo apt-get install php7.2-xml php7.2-intl php7.2-mbstring php7.2-mysql
# restart shell
#create if not exists
cd ~/Project
symfony new symvue --full --version=lts
cd symvue
composer require maker --dev
composer require server --dev
composer require encore
npm install
npm i vue vue-loader vue-template-compiler
# check:
php bin/console server:run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment