Playlist :
References:
apt-get install -y autoconf make gcc
Reference : https://blog.packagist.com/composer-2-0-is-now-available/ Download using wget and then replace the existing composer command inside the bin folder
wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet
// Create react app in the current folder | |
npx create-react-app . | |
// React’s useEffect Hook to call API |
------------------------------------------------ | |
Steps | |
------------------------------------------------ | |
1. Preparation | |
- Prepare the manager and worker nodes | |
- Run `sestatus` command (make sure Current mode is enforcing) | |
- Make sure to use docker the latest version | |
2. Open Ports | |
3. Create swarm | |
4. Visualize using docker swarm visualizer |
version: '3.1' | |
services: | |
wordpress: | |
image: wordpress | |
deploy: | |
replicas: 1 | |
restart_policy: | |
condition: on-failure |
// check the podman version | |
sudo podman --version | |
// search for container image | |
sudo podman search rhel | |
// search with filter | |
sudo podman search rhel --filter="is-official=true" | |
// pull image |
# Change to the project directory | |
cd /home/forge/domain.com | |
# Turn on maintenance mode | |
php artisan down || true | |
# Pull the latest changes from the git repository | |
# git reset --hard | |
# git clean -df | |
git pull origin master |
// install the cli command | |
npm -i g @nestjs/cli | |
// create a new project | |
nest new <project_name> | |
// Create a controller | |
nest g controller <controller_name> | |
// Create a service |
// Install Angular CLI | |
npm install -g @angular/cli | |
// Use a specific version of Angular | |
npm uninstall -g @angular/cli | |
npm install -g @angular/cli@12 // Install Angular 12 | |
ng new my-app // Create new app using angular 12 | |
// Setup a new Angular app | |
ng new blog |
Referrence : https://www.youtube.com/playlist?list=PLZS-MHyEIRo59lUBwU-XHH7Ymmb04ffOY
brew install pyenv
pyenv --version