Skip to content

Sajtospoga01/ditry_project

Repository files navigation

DITry

A picture-sharing website

DITry is a web application that allows the user to upload pictures of his own creation, save ideas by other users in folders and follow other users. Its features are specified below.

Features

  • Users can login/ logout and depending on whether they are logged in or not, their access rights change
  • Users can reset their password and receive an email with the link to reset it
  • Users can upload a picture as a posts, upload attempts of other posts and save other posts to folders
  • They can follow users and categories
  • Users can like a post
  • Users can view posts in one of the three predefined categories (food, DIY, crafts)
  • Users can view the top ten liked posts by clicking on 'trending'

Run DITry

After installing everything needed, you can now run the project by doing the following: Navigate to the folder, where the project is saved at:

cd <your_path>/ditry_project

The correct order of the following steps is crucial!

python manage.py migrate

python manage.py makemigrations

python manage.py migrate

python population_script.py

The following command to create a superuser is optional:

python manage.py createsuperuser

Finally:

python manage.py runserver

Now, copy the link into the link into your browser to start the server. (The link should look like this:)

http://127.0.0.1:8000/

Notes

  • To register on the page, creating a superuser does not work as it does not create a user profile. Instead, you need to use the register functionality on the website

External sources

Web Application development project repo - team 9D

About

Web Application development project repo - team 9D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published