Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
titusmahwenda committed Feb 18, 2022
1 parent f5cfdaf commit a54e7b2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions git_clone.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#! /bin/bash

cd /home/mob_app/env/
git clone https://github.com/titus-mahwenda/Mobalysis.git
6 changes: 6 additions & 0 deletions migrations_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#! /bin/bash

source /home/mob_app/env/bin/activate
cd /home/mob_app/env/Mobalysis/backend/
python3 manage.py makemigrations
python3 manage.py migrate
6 changes: 6 additions & 0 deletions virtual_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#! /bin/bash

sudo apt-get install python3-venv
sudo apt-get install pip
python3 -m venv env
source /home/mob_app/env/bin/activate

0 comments on commit a54e7b2

Please sign in to comment.