This is a Python/Django app of StarWars using Swapi, it's a website called Chewy where you can see all the data of Swapi with images and different elements. This is a project to learn how to work with django and improve my skills in python.
Instructions to obtain and run the application in systems with Linux (Ubuntu 18.04.2 LTS)
To execute this project you'll need the following requeriments
Python >= 3.6.8
git
To get and install this app you'll have to follow the next steps
git clone https://github.com/RubenZx/StarWars_Searcher.git
cd StarWars_Searcher/StarWars
pip3 install -r requeriments.txt
python3 manage.py makemigrations
python3 manage.py migrate
First of all you'll need to create an admin user if you want to access to the admin part of the site, to load data and see what data you have in your database of the site (optional)
python3 manage.py createsuperuser
Now you are ready to run the aplication
python3 manage.py runserver
Note: You can load the data in 2 different ways:
- Using the following command in the shell:
python3 manage.py load_data
- In the admin site there is a button to load_data, that will load/update it
After this you can open your browser and type the following link localhost:8000. You will see the following sections in your website:
- Logo, this is the home button
- Categories, a dropdown where you can see the different sections of the website
- Films
- Characters
- Planets
- Species
- Starships
- Vehicles
- Historic, another dropdown where you will see the last 10 pages visited in the website
- Log in, this is a button to go to the admin site
- Search bar, to look up a film
- Django - The web framework used