静态文件路径设置官方说明 1. Make sure that django.contrib.staticfiles is included in your INSTALLED_APPS. 2. In your settings file, define STATIC_URL, for example: STATIC_URL = '/static/' 3. Store your static files in a folder called static in your app. For e
hadoop集群时,需要固定集群内计算机相互通信之间的ip地址,但是每次进行网络连接后,ip地址都是变换的,我们希望设置一个用于集群内通信的静态ip,即使重启电脑也不会变化,同样希望能够正常的访问互联网. sudo vi /etc/network/interfaces 进入后发现可能只有这两行,也可能多出 auto lo iface lo inet loopback auto eth0 iface eth0 inet manual 这时如果有iface etho inet manual,我们就把
1. mkdir sin(source insight prj dir) 2. creat sin prj 3. push OK directly without setting source file route 4. push close without adding source code to project 5.defualt project settings 6. add src file to project. 参考: sourceinsight 相对路径设置