HEMA Ratings Submit app
make build
make run-dev
- Install ODBC Driver This is script for Ubuntu 18.04. For other systems check https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017.
sudo su
sudo apt-get update
sudo ACCEPT_EULA=Y apt-get install msodbcsql17
sudo ACCEPT_EULA=Y apt-get install mssql-tools
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.zshrc
sudo apt-get install unixodbc-dev
- Copy
.env.temp
to.env
and fill it with real settings and load it with
set -o allexport; source .env; set +o allexport
- Fetch code
git clone [email protected]:adam-tokarski/hemaratings.submit.git
- Install vitualenv with all dependenciens
pipenv install --dev
pipenv shell
- Django stuff
cd backend
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver