-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaws_steps.txt
35 lines (23 loc) · 1.1 KB
/
aws_steps.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Steps done in AWS instance to make work the project and services
# AWS EC2 instance on Ubuntu Server 18.04
Install docker
https://docs.docker.com/install/linux/docker-ce/ubuntu/
Install docker-compose
https://docs.docker.com/compose/install/
Add user to docker
https://docs.docker.com/install/linux/linux-postinstall/
sudo usermod -aG docker $USER
restart instance to see changes
Clone on /home/ubuntu the project
git clone https://github.com/adrianet86/bcn_is_magic.git
Follow installation instructions from README files.
Add alias for composer and php_posting docker images to .bashrc
Change timezone
sudo timedatectl set-timezone Europe/Madrid
Add cron jobs to crontab, copy content from /home/ubuntu/bcn_is_magic/php_posting/src/crontab
sudo crontab -e
Change system settings to make work Elasticsearch - (it will not work with free tier AWS version)
https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
Add cron jobs to crontab, copy content from /home/ubuntu/bcn_is_magic/php_following/src/crontab
sudo crontab -e
Create ElasticSearch service free tier and change php_following settings