Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lpm0073/bevintel
upgrade Open edX: Koa to Redwood
https://github.com/lpm0073/bevintel
Last synced: 2 months ago
JSON representation
upgrade Open edX: Koa to Redwood
- Host: GitHub
- URL: https://github.com/lpm0073/bevintel
- Owner: lpm0073
- Created: 2024-08-06T16:30:52.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T14:20:02.000Z (5 months ago)
- Last Synced: 2024-10-14T08:10:08.374Z (3 months ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Open edX Redwood tutor build
- client contact: Stélio, +27 82 340 9120, [email protected]
- consultant contact: Lawrence McDaniel +1 (617) 834-6172, [email protected], https://lawrencemcdaniel.com
- start date: 10-aug-2024
- aws region: us-west-1Migration from Koa native build to tutor redwood.
Original source server:
```bash
Host bi-dev
Hostname training-staging.beverageintelligence.com
User ubuntu
IdentityFile ~/.ssh/bi-uni-prod-clone.pem
IdentitiesOnly yes
```Target server:
```bash
Host bi
Hostname ???.beverageintelligence.com
User ubuntu
IdentityFile ~/.ssh/bi-uni-prod-clone.pem
IdentitiesOnly yes
```AWS S3 Source data:
- s3://training-staging.beverageintelligence.com/backups/openedx-mysql-20240807T060001.tgz
- s3://training-staging.beverageintelligence.com/backups/mongo-dump-20240807T060001.tgzAWS IAM User: arn:aws:iam::595273754238:user/lawrence
## EC2 AMI
N/A. we're starting with a clone of the Koa instance, which is built on Ubuntu 16.04 LTS and the
upgrade is still pending.## ubuntu packages
```bash
sudo apt update && sudo apt upgrade -y
sudo apt install python3 python3-pip libyaml-dev python3-venv
# sudo add-apt-repository ppa:deadsnakes/ppa -y
```## Docker installation
https://docs.docker.com/engine/install/ubuntu/
### Add Docker's official GPG key
```bash
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
```### Install Docker CE
```bash
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose
sudo apt update
sudo usermod -a -G docker ubuntu
logout
sudo docker run hello-world
docker-compose version
```## python virtual environment
```bash
python3 -m venv venv
source venv/bin/activate
pip install setuptools
pip install "tutor[full]==12.2.0"
tutor local quickstart
```## install aws cli
```bash
sudo snap install aws-cli --classic
```