Skip to content

Instantly share code, notes, and snippets.

@LinuxIntellect
Last active April 11, 2020 18:31
Show Gist options
  • Save LinuxIntellect/1644127f228da848b2dc03bad59c1d35 to your computer and use it in GitHub Desktop.
Save LinuxIntellect/1644127f228da848b2dc03bad59c1d35 to your computer and use it in GitHub Desktop.
Youtube: https://www.youtube.com/watch?v=dRdm6idiX5E&t=74s
sudo apt update && sudo apt-get upgrade --fix-missing
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install launchpad-getkeys
sudo launchpad-getkeys
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
sudo apt-get install python-jasmin
sudo systemctl enable jasmind
sudo systemctl start jasmind
sudo apt list --upgradable
sudo apt upgrade -y
sudo apt -y autoclean
sudo apt -y clean
sudo apt update
sudo apt-get install apache2 libapache2-mod-wsgi
sudo ufw allow 'Apache'
sudo systemctl enable apache2
sudo systemctl restart apache2
sudo systemctl reload apache2
sudo apt install python-pip
sudo pip install -r requirements.pip
sudo ./manage.py migrate
sudo ./manage.py createsuperuser
sudo ./manage.py collectstatic
# Input your new username and password local_settings.py
sudo touch local_settings.py
sudo nano local_settings.py
# Run as development
sudo python manage.py runserver [::]:8000
# visit http://localhost:8000/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment