<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aman Sharma</title>
    <description>The latest articles on DEV Community by Aman Sharma (@amannvl).</description>
    <link>https://dev.to/amannvl</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F463763%2Fb5791d0d-51c7-4172-b378-c0ba6b865886.jpeg</url>
      <title>DEV Community: Aman Sharma</title>
      <link>https://dev.to/amannvl</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amannvl"/>
    <language>en</language>
    <item>
      <title>Learn git commands in 3 minutes</title>
      <dc:creator>Aman Sharma</dc:creator>
      <pubDate>Sat, 05 Sep 2020 01:13:17 +0000</pubDate>
      <link>https://dev.to/amannvl/learn-git-commands-in-3-minutes-pm3</link>
      <guid>https://dev.to/amannvl/learn-git-commands-in-3-minutes-pm3</guid>
      <description>&lt;p&gt;Refer the below Youtube Video link for better understanding.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://youtu.be/4hLeQ6FEquY"&gt;https://youtu.be/4hLeQ6FEquY&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Commands are -&lt;/p&gt;

&lt;p&gt;For push-&lt;br&gt;
 git init&lt;/p&gt;

&lt;p&gt;git remote add origin &lt;a href="https://gitlab.com/crew-chief-systems/bot"&gt;https://gitlab.com/crew-chief-systems/bot&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;git remote -v (for checking current repository)&lt;/p&gt;

&lt;p&gt;git add -A(add all files)&lt;/p&gt;

&lt;p&gt;git commit -m 'Added my project'&lt;/p&gt;

&lt;p&gt;git pull --rebase origin master&lt;/p&gt;

&lt;p&gt;git push  origin master&lt;/p&gt;

&lt;p&gt;For Global registratrtion-&lt;br&gt;
 git config --global user.email "&lt;a href="mailto:you@example.com"&gt;you@example.com&lt;/a&gt;"&lt;br&gt;
 git config --global user.name "Your Name"&lt;/p&gt;

&lt;p&gt;/// For pushing updates to Repo ---&lt;/p&gt;

&lt;p&gt;git fetch origin master&lt;/p&gt;

&lt;p&gt;git pull origin master&lt;/p&gt;

&lt;p&gt;git add .&lt;/p&gt;

&lt;p&gt;git commit -m 'your commit message'&lt;/p&gt;

&lt;p&gt;git push origin master&lt;/p&gt;

</description>
      <category>github</category>
      <category>git</category>
      <category>amannvl</category>
    </item>
    <item>
      <title>How to start with PostgreSQL</title>
      <dc:creator>Aman Sharma</dc:creator>
      <pubDate>Sat, 05 Sep 2020 01:09:17 +0000</pubDate>
      <link>https://dev.to/amannvl/how-to-start-with-postgresql-10n0</link>
      <guid>https://dev.to/amannvl/how-to-start-with-postgresql-10n0</guid>
      <description>&lt;p&gt;You can refer to the below youtube link for better understanding.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://youtu.be/nuVYte2Mu9Y"&gt;https://youtu.be/nuVYte2Mu9Y&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Commands are -&lt;/p&gt;

&lt;p&gt;sudo -u postgres psql&lt;/p&gt;

&lt;p&gt;CREATE DATABASE yourdbname;&lt;br&gt;
CREATE USER youruser WITH ENCRYPTED PASSWORD 'yourpass';&lt;br&gt;
GRANT ALL PRIVILEGES ON DATABASE yourdbname TO youruser;&lt;/p&gt;

</description>
      <category>postgres</category>
      <category>webdev</category>
      <category>django</category>
      <category>sql</category>
    </item>
    <item>
      <title>How to add free SSL to any Website</title>
      <dc:creator>Aman Sharma</dc:creator>
      <pubDate>Sat, 05 Sep 2020 01:06:56 +0000</pubDate>
      <link>https://dev.to/amannvl/how-to-add-free-ssl-to-any-website-cb6</link>
      <guid>https://dev.to/amannvl/how-to-add-free-ssl-to-any-website-cb6</guid>
      <description>&lt;p&gt;Hey you can just refer this video for better understanding.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://youtu.be/5mgayNG4EOk"&gt;https://youtu.be/5mgayNG4EOk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For SSL commands -&lt;/p&gt;

&lt;p&gt;&lt;a href="https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx"&gt;https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>ssl</category>
    </item>
    <item>
      <title>How to shift from SQLite to PostgreSQL</title>
      <dc:creator>Aman Sharma</dc:creator>
      <pubDate>Sat, 05 Sep 2020 01:03:16 +0000</pubDate>
      <link>https://dev.to/amannvl/how-to-shift-from-sqlite-to-postgresql-57cn</link>
      <guid>https://dev.to/amannvl/how-to-shift-from-sqlite-to-postgresql-57cn</guid>
      <description>&lt;p&gt;Here's the youtube video link.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://youtu.be/nuVYte2Mu9Y"&gt;https://youtu.be/nuVYte2Mu9Y&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here are the commands to do so.&lt;/p&gt;

&lt;p&gt;CREATE DATABASE yourdbname;&lt;br&gt;
CREATE USER youruser WITH ENCRYPTED PASSWORD 'yourpass';&lt;br&gt;
GRANT ALL PRIVILEGES ON DATABASE yourdbname TO youruser;&lt;/p&gt;

</description>
      <category>postgres</category>
      <category>django</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to integrate AWS S3 and AWS RDS PostgreSQL on Django Web App</title>
      <dc:creator>Aman Sharma</dc:creator>
      <pubDate>Sat, 05 Sep 2020 01:00:03 +0000</pubDate>
      <link>https://dev.to/amannvl/how-to-integrate-aws-s3-and-aws-rds-postgresql-on-django-web-app-4ga1</link>
      <guid>https://dev.to/amannvl/how-to-integrate-aws-s3-and-aws-rds-postgresql-on-django-web-app-4ga1</guid>
      <description>&lt;p&gt;Hey you can deploy your website by following this link.&lt;/p&gt;

&lt;p&gt;Here's a Youtube Video link&lt;/p&gt;

&lt;p&gt;&lt;a href="https://youtu.be/L8-8b8BBR5U"&gt;https://youtu.be/L8-8b8BBR5U&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just follow the exact steps and you'll do it within 30 minutes.&lt;/p&gt;

&lt;p&gt;sudo apt-get update&lt;br&gt;
sudo apt-get upgrade&lt;br&gt;
sudo apt-get install python3-venv&lt;br&gt;
python3 -m venv venv&lt;br&gt;
source venv/bin/activate&lt;br&gt;
pip3 install django&lt;br&gt;
git clone 'Your repo'&lt;br&gt;
cd /yourRepo&lt;br&gt;
pip3 install gunicorn&lt;br&gt;
sudo apt-get install -y nginx&lt;br&gt;
gunicorn --bind 0.0.0.0:8000 aoo.wsgi:application { to view the running app }&lt;/p&gt;

&lt;p&gt;sudo apt-get install supervisor&lt;br&gt;
cd /etc/supervisor/conf.d&lt;br&gt;
sudo touch gunicorn.conf&lt;br&gt;
data to enter -&lt;/p&gt;

&lt;p&gt;[program:gunicorn]&lt;br&gt;
directory=/home/ubuntu/resume/djangoResume&lt;br&gt;
command=/home/ubuntu/venv/bin/gunicorn --workers 3 --bind unix:/home/ubuntu/resume/app.sock djangoResume.wsgi:application&lt;/p&gt;

&lt;p&gt;autostart=true&lt;br&gt;
autorestart=true&lt;br&gt;
stderr_logfile=/var/log/gunicorn/gunicorn.err.log&lt;br&gt;
stdout_logfile=/var/log/gunicorn/gunicorn.out.log&lt;/p&gt;

&lt;p&gt;[group:guni]&lt;br&gt;
programs:gunicorn&lt;/p&gt;

&lt;p&gt;sudo mkdir /var/log/gunicorn&lt;br&gt;
sudo supervisorctl update&lt;br&gt;
sudo supervisorctl reread&lt;/p&gt;

&lt;p&gt;cd /etc/nginx/sites-available&lt;br&gt;
sudo touch django.conf&lt;br&gt;
paste below code there-&lt;/p&gt;

&lt;p&gt;server {&lt;br&gt;
server_name yourIp;&lt;br&gt;
server_name &lt;a href="http://www.yourDomain"&gt;www.yourDomain&lt;/a&gt;;&lt;br&gt;
server_name yourDomain;&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;location / {
        include proxy_params;
        proxy_pass http://unix:/home/ubuntu/path/app.sock;

}

 location /static/ {
        autoindex on;
        alias /home/ubuntu/path/static/;
        }
location /media/ {
        autoindex on;
        alias /home/ubuntu/path/media/;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;sudo ln django.conf /etc/nginx/sites-enabled/&lt;br&gt;
sudo nginx -t&lt;/p&gt;

&lt;p&gt;►Website (created using Django) - &lt;a href="https://www.amannvl.me"&gt;https://www.amannvl.me&lt;/a&gt;&lt;br&gt;
►Facebook - &lt;a href="https://www.facebook.com/amannvl"&gt;https://www.facebook.com/amannvl&lt;/a&gt;&lt;br&gt;
►Instagram - &lt;a href="https://www.instagram.com/amannvl/"&gt;https://www.instagram.com/amannvl/&lt;/a&gt;&lt;br&gt;
►Twitter - &lt;a href="https://twitter.com/amannvl"&gt;https://twitter.com/amannvl&lt;/a&gt;&lt;/p&gt;

</description>
      <category>django</category>
      <category>aws</category>
      <category>webdev</category>
      <category>amannvl</category>
    </item>
    <item>
      <title>How to deploy Django Web App on Ubuntu AWS EC2 with nginx Configuration</title>
      <dc:creator>Aman Sharma</dc:creator>
      <pubDate>Sat, 05 Sep 2020 00:57:40 +0000</pubDate>
      <link>https://dev.to/amannvl/how-to-deploy-django-web-app-on-ubuntu-aws-ec2-with-nginx-configuration-47dm</link>
      <guid>https://dev.to/amannvl/how-to-deploy-django-web-app-on-ubuntu-aws-ec2-with-nginx-configuration-47dm</guid>
      <description>&lt;p&gt;Hey you can deploy your website by following this link.&lt;/p&gt;

&lt;p&gt;Here's a Youtube Video link&lt;/p&gt;

&lt;p&gt;&lt;a href="https://youtu.be/L8-8b8BBR5U"&gt;https://youtu.be/L8-8b8BBR5U&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just follow the exact steps and you'll do it within 30 minutes.&lt;/p&gt;

&lt;p&gt;sudo apt-get update&lt;br&gt;
sudo apt-get upgrade&lt;br&gt;
sudo apt-get install python3-venv&lt;br&gt;
python3 -m venv venv&lt;br&gt;
source venv/bin/activate&lt;br&gt;
pip3 install django&lt;br&gt;
git clone 'Your repo'&lt;br&gt;
cd /yourRepo&lt;br&gt;
pip3 install gunicorn&lt;br&gt;
sudo apt-get install -y nginx&lt;br&gt;
gunicorn --bind 0.0.0.0:8000 aoo.wsgi:application { to view the running app }&lt;/p&gt;

&lt;p&gt;sudo apt-get install supervisor&lt;br&gt;
cd /etc/supervisor/conf.d&lt;br&gt;
sudo touch gunicorn.conf&lt;br&gt;
data to enter -&lt;/p&gt;

&lt;p&gt;[program:gunicorn]&lt;br&gt;
directory=/home/ubuntu/resume/djangoResume&lt;br&gt;
command=/home/ubuntu/venv/bin/gunicorn --workers 3 --bind unix:/home/ubuntu/resume/app.sock djangoResume.wsgi:application&lt;/p&gt;

&lt;p&gt;autostart=true&lt;br&gt;
autorestart=true&lt;br&gt;
stderr_logfile=/var/log/gunicorn/gunicorn.err.log&lt;br&gt;
stdout_logfile=/var/log/gunicorn/gunicorn.out.log&lt;/p&gt;

&lt;p&gt;[group:guni]&lt;br&gt;
programs:gunicorn&lt;/p&gt;

&lt;p&gt;sudo mkdir /var/log/gunicorn&lt;br&gt;
sudo supervisorctl update&lt;br&gt;
sudo supervisorctl reread&lt;/p&gt;

&lt;p&gt;cd /etc/nginx/sites-available&lt;br&gt;
sudo touch django.conf&lt;br&gt;
paste below code there-&lt;/p&gt;

&lt;p&gt;server {&lt;br&gt;
server_name yourIp;&lt;br&gt;
server_name &lt;a href="http://www.yourDomain"&gt;www.yourDomain&lt;/a&gt;;&lt;br&gt;
server_name yourDomain;&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;location / {
        include proxy_params;
        proxy_pass http://unix:/home/ubuntu/path/app.sock;

}

 location /static/ {
        autoindex on;
        alias /home/ubuntu/path/static/;
        }
location /media/ {
        autoindex on;
        alias /home/ubuntu/path/media/;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;sudo ln django.conf /etc/nginx/sites-enabled/&lt;br&gt;
sudo nginx -t&lt;/p&gt;

&lt;p&gt;►Website (created using Django) - &lt;a href="https://www.amannvl.me"&gt;https://www.amannvl.me&lt;/a&gt;&lt;br&gt;
►Facebook - &lt;a href="https://www.facebook.com/amannvl"&gt;https://www.facebook.com/amannvl&lt;/a&gt;&lt;br&gt;
►Instagram - &lt;a href="https://www.instagram.com/amannvl/"&gt;https://www.instagram.com/amannvl/&lt;/a&gt;&lt;br&gt;
►Twitter - &lt;a href="https://twitter.com/amannvl"&gt;https://twitter.com/amannvl&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>django</category>
      <category>webdev</category>
      <category>ubuntu</category>
    </item>
    <item>
      <title>How to deploy your Django Web App on AWS EC2 Instance</title>
      <dc:creator>Aman Sharma</dc:creator>
      <pubDate>Sat, 05 Sep 2020 00:50:58 +0000</pubDate>
      <link>https://dev.to/amannvl/how-to-deploy-your-django-web-app-on-aws-ec2-instance-1mlm</link>
      <guid>https://dev.to/amannvl/how-to-deploy-your-django-web-app-on-aws-ec2-instance-1mlm</guid>
      <description>&lt;p&gt;Hey you can deploy your website by following this link.&lt;/p&gt;

&lt;p&gt;Here's &lt;a href="https://youtu.be/L8-8b8BBR5U"&gt;a Youtube Video link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just follow the exact steps and you'll do it within 30 minutes.&lt;/p&gt;

&lt;p&gt;sudo apt-get update&lt;br&gt;
sudo apt-get upgrade&lt;br&gt;
sudo apt-get install python3-venv&lt;br&gt;
python3 -m venv venv&lt;br&gt;
source venv/bin/activate&lt;br&gt;
pip3 install django&lt;br&gt;
git clone 'Your repo'&lt;br&gt;
cd /yourRepo&lt;br&gt;
pip3 install gunicorn&lt;br&gt;
sudo apt-get install -y nginx&lt;br&gt;
gunicorn --bind 0.0.0.0:8000 aoo.wsgi:application { to view the running app }&lt;/p&gt;

&lt;p&gt;sudo apt-get install supervisor&lt;br&gt;
cd /etc/supervisor/conf.d&lt;br&gt;
sudo touch gunicorn.conf&lt;br&gt;
data to enter - &lt;/p&gt;

&lt;p&gt;[program:gunicorn]&lt;br&gt;
directory=/home/ubuntu/resume/djangoResume&lt;br&gt;
command=/home/ubuntu/venv/bin/gunicorn  --workers 3 --bind unix:/home/ubuntu/resume/app.sock djangoResume.wsgi:application&lt;/p&gt;

&lt;p&gt;autostart=true&lt;br&gt;
autorestart=true&lt;br&gt;
stderr_logfile=/var/log/gunicorn/gunicorn.err.log&lt;br&gt;
stdout_logfile=/var/log/gunicorn/gunicorn.out.log&lt;/p&gt;

&lt;p&gt;[group:guni]&lt;br&gt;
programs:gunicorn&lt;/p&gt;

&lt;p&gt;sudo mkdir /var/log/gunicorn&lt;br&gt;
sudo supervisorctl update&lt;br&gt;
sudo supervisorctl reread&lt;/p&gt;

&lt;p&gt;cd /etc/nginx/sites-available&lt;br&gt;
sudo touch django.conf&lt;br&gt;
paste below code there- &lt;/p&gt;

&lt;p&gt;server {&lt;br&gt;
        server_name yourIp;&lt;br&gt;
        server_name &lt;a href="http://www.yourDomain"&gt;www.yourDomain&lt;/a&gt;;&lt;br&gt;
        server_name yourDomain;&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    location / {
            include proxy_params;
            proxy_pass http://unix:/home/ubuntu/path/app.sock;

    }

     location /static/ {
            autoindex on;
            alias /home/ubuntu/path/static/;
            }
    location /media/ {
            autoindex on;
            alias /home/ubuntu/path/media/;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;sudo ln django.conf /etc/nginx/sites-enabled/&lt;br&gt;
sudo nginx -t&lt;/p&gt;

&lt;p&gt;►Website (created using Django) - &lt;a href="https://www.amannvl.me"&gt;https://www.amannvl.me&lt;/a&gt;&lt;br&gt;
►Facebook - &lt;a href="https://www.facebook.com/amannvl"&gt;https://www.facebook.com/amannvl&lt;/a&gt;&lt;br&gt;
►Instagram - &lt;a href="https://www.instagram.com/amannvl/"&gt;https://www.instagram.com/amannvl/&lt;/a&gt;&lt;br&gt;
►Twitter -  &lt;a href="https://twitter.com/amannvl"&gt;https://twitter.com/amannvl&lt;/a&gt;&lt;/p&gt;

</description>
      <category>django</category>
      <category>aws</category>
      <category>webdev</category>
      <category>python</category>
    </item>
  </channel>
</rss>
