v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-16 06:10:09 -07:00
This commit is contained in:
Al Ne 2018-05-19 03:53:31 +03:00
parent 5f8a966422
commit 2c9f191f5d
2 changed files with 15 additions and 2 deletions

View File

@ -6,6 +6,7 @@
This is source code of RSS feed generator website with user friendly interface.
## Installation of development server for Ubuntu
(If you have some questions please contact me by github email)
Install required packages
```
@ -46,9 +47,21 @@ sudo cp pol/nginx/default.site-example /etc/nginx/sites-available/default
sudo service nginx reload
```
Install and setup mysql. **Use password 'toor' for root user**
Install and setup mysql if you didn't yet.
```
sudo apt-get install mysql-server
sudo mysql -u root
mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;
sudo mysql_secure_installation
```
Create database. **Use password 'toor' for root user**
```
mysql -uroot -ptoor -e 'CREATE DATABASE pol DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci;'
```

View File

@ -10,5 +10,5 @@ brotli==0.6.0
#sudo apt-get install nodejs npm
#sudo npm install -g less
#sudo ln -s /usr/bin/nodejs /usr/bin/node
#sudo apt install ruby
#sudo apt install ruby ruby-dev
#sudo su -c "gem install sass"