/polls-django

A public site that lets people view polls and vote in them.

Primary LanguagePythonMIT LicenseMIT

Polls

🖱️ A public site that lets people view polls and vote in them. Django Documentation

🚀 Stacks

This project was developed with the following technologies:

🆙 APP Features

👷 How to run?

git clone https://github.com/JardelDeveloper/app-polls-django.git

⚒ Build APP

# Build Project
$ django-admin startproject mysite
# Build App
$ python manage.py startapp polls

🗃️ Store and Migrate the Database

# Store model changes in a migration
$ python manage.py makemigrations
# Run migrate
$ python manage.py migrate

💻 Run Polls

# Access the directory 
$ cd mysite
# Install Dependencies (VENV)
# Run Polls app
$ python manage.py runserver

Go to http://127.0.0.1:8000/polls/

🔐 Run Admin Polls

# Access the directory 
$ cd mysite
# Create Super User
$ python manage.py createsuperuser
# Run Admin app
$ python manage.py runserver

Go to http://127.0.0.1:8000/admin/

🤔 How to contribute?

# Make a Fork this repository;
# Create a branch with your feature: 
git checkout -b my-feature;
# Make commit to your changes: 
git commit -m "feat: my new feature";
# Make a push to your branch: 
git push origin my-feature;

After the merge of your pull request is done, you can delete a branch of yours.

🔧 Issues

Feel free to file a new issue with a respective title and description on the the Polls repository. If you already found a solution to your problem, I would love to review your pull request.

📝 License

Released in 2020 📕

This project is under the MIT license. See the LICENSE for more details.

Made with 💚 by Jardel Cunha.

Give ⭐ if this project helped you!