-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment
Aryanboxout edited this page Dec 16, 2021
·
19 revisions
Option 1 *AWS- Amazon Web services provide the opportunity to have a cloud server(ec2) which enables us to deploy website through it
*AWS is free for a year with credit card swipe
*Option 2 *Raspberry pi canakit (More for electrical things )
*Around 130 dollars and allows us to deploy website on the raspberry pi
*CanaKit Raspberry Pi 4 4GB Starter PRO Kit - 4GB RAM
*Better quality option: *CanaKit Raspberry Pi 4 8GB Extreme Kit - 128GB Edition (8GB RAM)

- deployment connects our website to the internet by placing it on web servers
- other people can view your website on different devices
- the website will always be running, not just when it is running on your laptop
- we will be using AWS (Amazon Web Services) to deploy our website
- we need to research how to deploy on AWS
- deployment should be updated weekly in order to ensure site functionality is remaining and in standard as what was intended with at of deployment
- we only plan to deploy the codfish repo and not any other branches or forks
- Purchase aws free subscription with credit card info and launch its ec2w instance for deployment
- Choose a free tier instance
- Configure instance detail stick launch single instance of the AMI using the default
- Launch the instance with 8GB of storage once the storage stick is added with the default
- add tags for volume to simplify future identification
- Configure security group(firewall rules that control the traffic for your instance)- Set specific rules in order to allow traffic to your destination safely.
- Finally review the instance launch
- All team members should have weeks of work committed by 8 pm pacific standard time on Thursday so deployment officers can deploy before Friday morning.
- All team members will have access to and understanding of deployment in case of an emergency
- Arushi + Vidhi: 6pm
- Prisha + Saumya: 7pm
- Aryan: 8pm
- Arushi will deploy if Aryan is absent
- Vidhi, Saumya, and Prisha will deploy if both are absent
Details on pulling from git and updating deployment for any group member
- Log into AWS with email: emailaryantoday@gmail.com 2)Password is Aryan12Arush
- Now open instance and click instance id
- Select connect and it will open the console
- In console Run these commands step by step-
cd ~/codefish git pull
pip install -r requirements.txt
source homesite/bin/activate
sudo systemctl start homesite.service
]
- Now open the website on a domain and ensure it is updated