소스 검색

Finished Digital Ocean explanation

Max Halford 10 년 전
부모
커밋
8bc1c2740e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      deployment/Digital-Ocean.md

+ 3 - 3
deployment/Digital-Ocean.md

@@ -1,15 +1,15 @@
 # Digital Ocean deployment
 
-The following script sets everything up so that the application can be deployed on a [Digital Ocean](https://www.digitalocean.com/) droplet with Ubuntu 14.04 and the Apache web server. Of course you should go through it and modify the parts that are unique to your application, I've marked them with ``<>``. You will also have to change the ``app.wsgi`` and the ``Flask-Boilerplate.conf`` files, just open the files and replace the obvious stuff.
+The following script sets everything up so that the application can be deployed on a [Digital Ocean](https://www.digitalocean.com/) droplet with Ubuntu 14.04 and the Apache web server. Of course you should go through it and modify the parts that are unique to your application (the username and the application GitHub URL/folder). You will also have to change the ``app.wsgi`` and the ``Flask-Boilerplate.conf`` files, just open the files and replace the obvious stuff.
 
 ```sh
 # Login and change password
 ssh root@<IP>
 
 # Add a new user "MAX" and give him a password
-adduser <MAX>
+adduser MAX
 # Give "MAX" sudo rights
-gpasswd -a <MAX> sudo
+gpasswd -a MAX sudo
 
 # Change "PermitRootLogin yes" to "PermitRootLogin no"
 nano /etc/ssh/sshd_config