Skip to content

r-u-there/UThere

Repository files navigation

UThere application back-end initialization

A brief guide for running the project.

To know your existing pip installer version , Use the below command

py -m pip --version

To Upgrade pip installer

python -m pip install --upgrade pip

1.To create virtual environment

py -m venv <environment name>

2. We need to activate the created virtual environment

.\<environment name>\Scripts\activate

3. To install django:

py -m pip install django

4. Install requirments

pip install requirements.txt

PS: In case you get an error skip this step, proceed to step 5 and install it yourself if there is any missing library Example:

pip install django-crispy-forms

5. Run application

python manage.py runserver

You might get a migration error while running the runserver command if there is any unmigrated changes in models, in this case:

1.

python manage.py makemigrations

2.

python manage.py migrate

3. Creating superuser

python manage.py createsuperuser

then enter your username, email and password. admin page is accessable through : http://localhost:8000/admin It will enable us to perform directly and easily CRUDE operations for the objects defined in the admin.py file.

4.

python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •