NoteZ- A notes-creating app in Django
-
Start off by forking this repository and cloning it to get your local copy. Make sure you run this in git bash.
$ git clone https://github.com/sagar-wal/Notes_Creator.git
-
If you prefer a virtual-environment (venv) you should have pip and venv installed.
$ sudo apt install python3-pip python3-dev $ sudo apt-get install python3-venv
-
Initiate a python 3 environment.
$ python3 -m venv env
-
Activate your virtual environment.
$ source env/bin/activate
After successful activation, the code within parentheses will appear before the prompt in the bash similar to this:
(env) <directory>$
You can watch this video on how to install venv : https://www.youtube.com/watch?v=mqlCk_WCK2E
The source code is contained in the 'note_creator' directory. Open that directory before running the forthcoming commands.
-
Initialise the database
$ python manage.py makemigrations $ python manage.py migrate
-
All set ! Now run the server and get started !
-
Run the following command in your terminal.
$ python manage.py runserver
-
Navigate to https://localhost:8000 in any web browser to see it in action.Have fun!