- Install python 3.7/3.8/3.9 (python 3.7/3.8 would be better)
-
$ git clone https://github.com/<yourname>/Patralaya.git
-
git add . git status <shows your files added to the git stage> git commit -m "<commit message>"
-
$ git remote add upstream https://github.com/azwyane/Patralaya.git $ git fetch upstream $ git checkout master $ git merge upstream/master
If you get no conflicts then push the changes to your fork
-
$ git push origin master
Clone the repo to your local device
$ git clone https://github.com/azwyane/Patralaya.git
This will create a folder called Patralaya in your workspace with all the files and folders from the repo.
$ python3 -m venv venv
This will create a virutal environment for the project named as venv in side the base directory(Patralaya)
- If on GNU/Linux follow as:
$ . venv/bin/activate
- If on windows follow as: refer to here
...\> venv\Scripts\activate.bat
which will result as this (virtual env for the project):
(venv)$
- GET THE HACK DONE (refer to working with Django project)
(venv)$ pip install --upgrade pip
(venv)$ pip install -r requirements.txt
(venv)$ python manage.py migrate
(venv)$ python manage.py makemigrations
(venv)$ python manage.py migrate
(venv)$ python manage.py runserver
- BEFORE SUBMITTING THE PUSH ALWAYS REMEMBER TO SHARE CODE WITH PEERS TO BE SURE OF THE CHANGES, THEN CHECK THE LATEST CHANGES IN THE REPO
For that follow as:
$ git fetch origin
$ git checkout master
$ git merge origin/master
Be sure to check the conflicts, don't remove anything from the repo by yourself to manage conflict if you aren't sure about that so discuss to Peers for necessary solution
Then make push by:
$ git push origin master
- Clone the repo and then follow with:
$ docker build .
$ docker-compose up
after stopping dont forget to $ docker-compose down
After making changes run by:
$ docker-compose build
Project is licensed under: