Skip to content

Commit

Permalink
update startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreykirchner committed Oct 25, 2023
1 parent 94b6c60 commit 143abd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ python manage.py migrate
echo "Install htop:"
apt-get -y install htop
echo "Install redis"
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
apt-get update
# curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
# echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
# apt-get update
apt-get -y install redis
echo "Start Daphne:"
redis-server & daphne -b 0.0.0.0 _fitbit_2.asgi:application

0 comments on commit 143abd9

Please sign in to comment.