-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the CGS wiki! ------------------------------Project-CGS------------------------------
Title- # Online Student Essentials
This is an e-commerce website mainly focusing on fulfilling daily essential student needs.
Framework- Django V2.1.5.
Main Programming Language-python
Some Important Tools Used:
1.pybuilder
2.code coverage tool
3.jenkins(continuous integration tool)
4.Arachni(security scanner and penetration testing tool)
For the above tools, installation and setup commands, as well as website references, are given below:
-----------------Buildtool setup(pybuilder)-------------
https://pybuilder.github.io/documentation/tutorial.html#.XLryL3UzawY
https://www.youtube.com/watch?v=jufUqH3bDG0
commnds---
sudo pip3 install virtualenv
virtualenv venv
source venv/bin/activate
pip install pybuilder
pyb --start-project
navigate(y/n)
pyb
----------------------code coverage--------------------
https://devguide.python.org/coverage/
https://coverage.readthedocs.io/en/latest/
https://www.bedjango.com/blog/package-week-coverage-django/
pip install coverage
coverage run --source='.' manage.py test ecommerce(basically app or project name to be tested)
coverage report
-----------------------Installing Jenkins----------------
https://jenkins.io/doc/book/installing/
https://wiki.jenkins.io/display/JENKINS/Logging
https://www.youtube.com/watch?v=j5D8SLxn6YA (war or ear file required)
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
sudo service jenkins start sudo chkconfig jenkins on
GOTO localhost/8080/login or just localhost/8080
after start
systemctl stop jenkins
-----------------arachani(penetration testing tool)----------
https://geekflare.com/open-source-web-security-scanner/
https://www.arachni-scanner.com/
https://www.youtube.com/watch?v=nJRiaC68SnQ
Download linux64 or32 version for ubuntu
tar -xvf arachni-1.5.1-0.5.12-linux-x86_64.tar.gz (use for extraction)
cd arachni-1.5.1-0.5.12/bin
./arachni_web
goto localhost/9292
for default credential
https://github.com/Arachni/arachni-ui
setup is completed
--------------------------End --------------------------------------------
This Project has been developed by the following members:
1.Chandan Chaudhary (cchaudhary278@gmail.com)
2.Gyan Prakash Singh(singhprakashjnv@gmail.com)
3.Shivam Tiwari(shivam21ballia@gmail.com)
Under Guidance of :
Dr. Ferdous Ahmed (ferdousa@gmail.com)
Under Tutor Assistance of:
1.NaZatul Haque Sultan(nazatulhaquesultan@gmail.com)
2.Richa Sarma(richasarma201090@gmail.com)
Feel free to contact us through E-mail for any query related to our project.