1234567891011121314151617181920 |
- #! /bin/bash
- PWD=`pwd`
- MYSQL_LOCAL_DIR=${PWD}/db
- sudo rm -rf $MYSQL_LOCAL_DIR
- echo -en "" > SETTINGS
- echo "export MYSQL_LOCAL_DIR=$MYSQL_LOCAL_DIR" >> SETTINGS
- echo "export MYSQL_ROOT_PASSWORD=123" >> SETTINGS
- echo "export MYSQL_USER=barin" >> SETTINGS
- echo "export MYSQL_PASSWORD=12345" >> SETTINGS
- echo "export MYSQL_DATABASE=barindb" >> SETTINGS
- echo "export MYSQL_LOCAL_PORT=3307" >> SETTINGS
- echo "export MYSQL_LOCAL_HOST=127.0.0.1" >> SETTINGS
- echo "export ADMINER_LOCAL_PORT=8081" >> SETTINGS
- echo "export TOKEN=\"MyToKeN\"" >> SETTINGS
- echo "export OUTLINE_API_URL=\"API\"" >> SETTINGS
- echo "export PWD=\"$PWD\"" >> SETTINGS
- #echo "export HTTP_PROXY=http://kiselyov.avp.ru:3128" >> SETTINGS
|