Python Django environment setup tutorial (MAC + pycharm + Django ++ postgreSQL), djangopycharm
Setting up the Django environment seems to be a very simple task. In fact, it is not the case that I have struggled for more than half a day, so I would like to summarize the entire setup process here, at the same time, we also hope that our new entry peers will face fe
). On the Mac to use this tool, wordy, this tool also supports other languages, we are interested to study. Okay, just run the following command to installInstall –Install -G generator-aspnetAfter the installation is complete, run under the project folderYo ASPNETThen follow the prompts and press the arrow keys to select MVC application to generate the template. If you want to run it, runK Restorek KestrelThe default is 5004 port, the browser input lo
Installing the eclipse + Python + djgano + pydve development environment on the Mac platform is complicated. It took me a lot of time to install it successfully!
The main difficulties are:
(1) The installation path of Multi-version software may change, so that the software cannot quickly find the path of the latest version you have installed, if the eclipse you installed does not find the python path you installed
You need to manually add the py
$ #设置Web HTTPS proxy Fisudo networksetup-setwebproxystate $networkservice on #打开Web http proxy sudo networksetup-setsecurewebproxystate $networkservice on #打开Web HTTPS proxy echo doneHow to use this scriptSave the above script as a file, say Proxyon, and then move the Proxyon file to a bin directory, such as:/usr/local/bin/Then we can quickly set up and open the Web proxy through this command at the terminal:sudo proxyon #仅打开Web代理sudo proxyon 115.231.175.68 8081 #设置并打开Web代理To close the sh
limited, auto-complete function is not strong enough ... So, with the ITERM2, you need a more powerful shell to match.About ShellThe first recommendation is zsh. The reason is called zsh, the meaning is:The last shell of you ' ll ever need!It can be understood that once it is used, there is nothing to ask for. Zsh is much more powerful than bash, and can automatically fill commands, parameters, filenames, processes, usernames, variables, permissions, and more ... In addition, plug-ins are suppo
fields in the table
12
mysql> use MySQL;mysql> desc user;
Some fields are as follows
Field
Type
Null
Key
Default
Extra
Host
CHAR (60)
NO
Pri
User
CHAR (16)
NO
Pri
Authentication_string
Text
YES
Null
Password_expired
Enum (' N ', ' Y ')
NO
N
/lib/dt.jar: $JAVA _home/lib/tools.jarExport Java_home java_bin PATH CLASSPATHant_home=/home/work/zouleiran/apache-ant-1.9.7Path= $JAVA _home/bin: $ANT _home/bin: $PATHAfter the input is completed successfully, run the source again after the bash_profile. Execute ant command and find the error rightBASH:/users/zlr/desktop/apache-ant-1.9.7/bin/ant:permission deniedThis problem is bin/ant this thing right, the author in the Desktop under the chmod 777 * command or not, entered the/users/zlr/deskto
path is/usr/local/bin/pythonw. Therefore, EClipse always finds the correct path at the beginning, leading to compilation errors!
(2) The installation of MySQl is laborious. In addition to the two installation packages officially provided, the installation of python-mysqldb requires errors!
0. Install JDK
On the JDK official website, go to https://www.php1.cn/select the appropriate region, with 32-bit and 64-bit differences.
Mountain Lion is a 64-bit operating system, so all of the following s
= passwd, authz-db = Authz four items . SVN Server Basic ConfigurationAnon-access = read indicates that anonymous access is read-only and anon-access = none does not allow anonymous access. Allow anonymous access cannot view timeline, so I generally do not allow anonymous access.2.2 Add user name passwordOpen the passwd file with text and add the user name and password you want to add under [users] in the format username = password specific configurationUser information configuration (user nam
Start tossing Mac Pro, find some information on the Internet, I also tried a bit, special here to do a summary.
The location of the JDK in your Mac
OSX default JDK/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/HomeThis is actually a symbolic link, which points to:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/HomeOS x comes with a JRE/System/Library/Frameworks/Jav
some basic operations commands
List Virtual environments:
$ lsvirtualenv -benv1env2
To switch between virtual environments:
$ workon env1
See which packages are installed in your environment:
$ lssitepackages
Enter the current environment:
$ cdvirtualenv
Site-packages into the current environment:
$ cdsitepackages$ cdsitepackages pip
To replicate a virtual environment:
as env3...
Exit the virtual Enviro
This has been a few days of continuous integration work, it is inevitable to contact Jenkins, below to write about Jenkins in the Mac OS environment of the building and configuration.1. Tomcat downloadDownload the required version of Tomcat to Apache official website address: http://apache.mirrors.ionfish.org/tomcat/ Note: Download the binary version under the bin/path, download the SRC version, What is contained in the inside is not complete. Downloa
In a Mac environment, the Java Server environment is built:1 Use it. Compare the new JDK:Http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-macosx-x64.dmg2 Download Tomcat compression pack (use version_7.xx here)3 Download the Tomcat plugin for Eclipse and add the files to the plugins directory in the Eclipse file after decompression;(Tools in step 2, 3: http://down.51cto.com/data/1888301)4 Restart Eclipse, select Preference-tomcat, set up
Originally the DMG under node's website, after installation,NPM install-g appium, reported permission error.sudo npm install-g appium,Then NPM install WDAlthough it can be installed successfully. But there's a problem with permissions when you appium.Toss for a long while. In the end, according to Appium official website methodInstall the brew first, then use Brew to mount node and install the Appium.Finally successfulBrew Install nodeNPM install-g AppiumNPM Install WDzhangminjiedemacbook-pro:~
System Mac OS 10.12.1Because it is not so much like using the IDE, it uses native Php+apache to assemble the PHP environment.The system comes with PHP 5.6,apache for 2.4.23Download and install MySQL online. MySQL can be started in the system settings, the default does not start with the boot, reduce the boot wait timeDownload phpMyAdminUnzip and move the extracted folder under localhost. If the Apache file is not configured, the default file/library/w
1. Start the servermacbook-air:~ wgyp$ sudo apachectl startPassword:macbook-air:~ wgyp$ sudo apachectl-vServer version:apache/2.2.26 (Unix)Server Built:dec 10 2013 22:09:382. enter http://localhost in the browser and the IT works! will appear The pageNote: If the IT works! does not appear Enter 127.0.0.1 in the browser, if it appears, the host binding is wrong.3. Open in/etc/apache2/httpd.conf with VILoadModule Php5_module libexec/apache2/libphp5.soThe comment code, with: w save,: Q Exit Edit. n
Looked up in the. Bash_profile configuration then the source method, tried, but the current terminal is valid, when the computer restarts or shuts down the terminal is invalid, had to look at the Mac profile code# system-wide. Profile forSh1)if[-x/usr/libexec/Path_helper]; Then eval '/usr/libexec/path_helper-S ' # # #将环境路径进行添加fiif["${bash-no}"!="No" ]; Then [-R/ETC/BASHRC] . /etc/BASHRC # # #很明显这个是加载etcThe use of/BASHRC although I do not understand-wh
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.