Go to file
maxime cd05ff4180 harbour is a port! 2019-05-27 08:06:11 +02:00
gpp harbour is a port! 2019-05-27 08:06:11 +02:00
port harbour is a port! 2019-05-27 08:06:11 +02:00
.gitignore gitignore 2019-05-27 07:49:53 +02:00
README.rst ajout des models et des url 2019-05-27 08:04:29 +02:00
manage.py ajout des models et des url 2019-05-27 08:04:29 +02:00
requirements.txt requirements pip 2019-05-27 07:50:20 +02:00

README.rst

# DB installation
pacman -S postgresql
su - postgres -c "initdb --local en_US.UTF-8 -D '/var/lib/postgres/data'"
systemctl restart posgresql
su - postgres -c "createuser gpp"
su - postgres -c "createdb -O gpp gpp"

# Python installation
pacman -S python3
virtualenv -p /usr/bin/python3.7 ~/.pyvenv/gpp
source ~/.pyvenv/gpp/bin/activate

# Project initialization (if not already created)
pip install Django psycopg2
django-admin startproject gpp
django-admin startapp harbour
# edit gpp/settings.py according to your database preferences
./manage.py migrate
cd gpp
git init

# If already created
git clone https://git.yannweb.net/maxime-alves/gestion_port_plaisance.git
cd ./gestion_port_plaisance
pip install -r requirements.txt
# edit gpp/settings.py according to your database preferences
./manage.py migrate