knox / Llama-Deployment-11.sh
0 likes
0 forks
1 files
Last active
1 | sudo -i -u postgres |
2 | psql |
knox / Llama-Deployment-10.sh
0 likes
0 forks
1 files
Last active
1 | sudo apt install -y postgresql postgresql-contrib |
knox / Llama-Deployment-9.env
0 likes
0 forks
1 files
Last active
1 | DEBUG=False |
2 | SECRET_KEY=your_secret_key |
3 | DATABASE_URL=postgres://username:password@localhost:5432/llama_db |
4 | ALLOWED_HOSTS=your_domain.com |
knox / Llama-Deployment-8.sh
0 likes
0 forks
1 files
Last active
1 | touch .env |
2 | nano .env |
knox / Llama-Deployment-7.sh
0 likes
0 forks
1 files
Last active
1 | pip install -r requirements.txt |
knox / Llama-Deployment-6.sh
0 likes
0 forks
1 files
Last active
1 | python3 -m venv venv |
2 | source venv/bin/activate |
knox / Llama-Deployment-5.sh
0 likes
0 forks
1 files
Last active
1 | cd ~ |
2 | git clone https://github.com/ollama/llama.git |
3 | cd llama |
knox / Llama-Deployment-4.sh
0 likes
0 forks
1 files
Last active
1 | sudo apt install -y python3 python3-pip python3-venv git curl |
knox / Llama-Deployment-3.sh
0 likes
0 forks
1 files
Last active
1 | su - deployer |
knox / Llama-Deployment-2.sh
0 likes
0 forks
1 files
Last active
1 | sudo adduser deployer |
2 | sudo usermod -aG sudo deployer |