- Clone the repository
git clone https://github.com/Avikam03/atsni.git
chmod +x ./install.sh ./run.sh
./install.sh
(this will install all the dependencies)./run.sh
(this will run two processes simultaneously - one that hosts the django server on port 8000, and another that is needed for tailwind to work)- Open
http://localhost:8000/
in your browser - Press
Ctrl + C
twice to stop the processes
Optional:
- Create superuser to view admin panel
python manage.py createsuperuser
- The project starts by registering a user (preferably admin, to test all features)
- To make things easy, you simply need the email address of an existing user to log into the account of a particular user. (password can be easily configured by making changes to the user model)
- Since it was communicated that for the sake of this project there is only one team, it has been made so that all the users present are in the team, and when a member is added to the team, a user of their details is created.
Edge cases taken care of:
- User can't delete themself
- User can't set their own role to admin if they are a regular user
- User can't change their own email or someone else's email to an email that already exists