This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add PostgreSQL Apt Repository | |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' | |
wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add - | |
# Install PostgreSQL | |
sudo apt-get update | |
sudo apt-get -y install postgresql postgresql-contrib phppgadmin | |
# Configure PostgreSQL user | |
sudo su - postgres | |
psql | |
# change the password for postgres role |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install laravel installer | |
composer global require "laravel/installer" | |
# Edit environment config | |
nano .zshrc | |
# Then add | |
export PATH="$PATH:$HOME/.config/composer/vendor/bin" | |
# Then reload path config | |
source ~/.zshrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# installing java | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer | |
sudo apt-get install oracle-java8-set-default | |
# installing android studio | |
# download android-studio from https://developer.android.com/studio/index.html | |
# extract the archive file into an appropriate location | |
sudo unzip android-studio-ide-141.2178183-linux.zip -d /opt | |
# to launch Android Studio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download through composer | |
composer create-project -s beta sylius/sylius-standard acme (--project name) | |
# follw the default instruction and enter | |
# Move to the newly created directory | |
cd --directory name | |
php bin/console sylius:install | |
# install nodejs & npm using a PPA | |
sudo apt-get install python-software-properties | |
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - | |
sudo apt-get install nodejs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install zsh | |
sudo apt-get install git-core | |
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh | |
# change your default shell to zsh | |
chsh -s `which zsh` | |
# then restart | |
sudo shutdown -r 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Navigated to /etc/apt/sources.list.d/ | |
cd /etc/apt/sources.list.d/ | |
# Edited google.list by invoking | |
eg: sudo nano google.list | |
# Commented out the source with a '#' | |
# Save and run | |
sudo apt-get update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# path of sylius project in .env file symfony_app_path | |
docker-compose build | |
docker-compose up -d | |
docker network inspect bridge | grep Gateway | |
sudo echo "171.17.0.1 rudraksha.dev" >> /etc/hosts | |
cat /etc/hosts | |
# Update app/config/parameters.yml | |
parameters: | |
database_host: db | |
database_password: root |
NewerOlder