TP2 - PPW F 01
visit us http://cs-career.herokuapp.com/
About
Status
pipeline & coverage on gitlab repository
Anggota Kelompok
Nama | NPM |
---|---|
Adyanissa Farsya Kirana | 1606918212 |
Ario Seto | 1606917670 |
Damar Wardoyo | 1606918080 |
Wisnu Pramadhitya Ramadhan | 1606918055 |
Program
Important
This program required python 3.6+ as it needs new python module secret (for more information please read https://docs.python.org/3/library/secrets.html).
Install
-
Clone the repository
git clone https://gitlab.com/ppwf01/the-next-ling-in.git
-
Check your python version, if you still have version below 3.6, please upgrade or install new one on other environment, you can use pyenv (please read https://github.com/pyenv/pyenv). If you are a Windows user just install from python website.
-
Create python env with virtualenv or venv
python3 -m venv env
-
Activate the python env:
- Linux/macOS
source env/bin/activate
- Windows
env\Script\activate.bat
To deactivate the env, rundeactivate
- Linux/macOS
-
Install dependencies with pip
pip3 install -r requirements.txt
-
Setup the database:
python3 manage.py makemigrations python3 manage.py migrate
or you can run
$ ./deplyoment.sh
-
Run
python3 manage.py collectstatic
to collect static files (image, js, css, etc.) -
Run server
python3 manage.py runserver
or you can run$ ./runserver.sh
-
To run unittest and see the coverage report, run
$ ./runtest.sh
-
Note that Windows user needs bash to run .sh script, please the .sh script for run manually
TODO
Master:
- Connect to the team with project B
- Add Friend
- Add/edit User expertise
Frontend:
- Login button
Backend
- Backend: latest status is showing different user's status
Screenshot
Credit
Our lecturer: Ibu Maya Retno Ayu Setyautami S.Kom., M.Kom. & the teaching assistant team, especially Kak Hafiyyan & Kak Teguh.
User Interface beautifully designed by Adyanissa F. Kirana and well-tailored by PPW F 01 Team.