This is the project for an assignment for the subject Web Project. You can find the main deployment in: https://web-project-one-prod.herokuapp.com
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. Keep in mind during early stages of development we're wiping the database on each run.
Docker or Docker Toolbox
First of all be logged on docker, otherwise you won't be able to build
$ docker-compose up --build --remove-orphans
> docker-machine start default &:: Start Virtual Machine
> docker-machine env &:: Configure Terminal
> docker-machine ip default &:: Get IP of machine
> docker-compose up --build --remove-orphans &:: Start Docker/Django
Be very careful with the second command: https://docs.docker.com/engine/reference/commandline/image_prune/
docker rm -vf web_project_db
docker image prune -af
The server will be deployed on port 80 by default
By default, the local execution runs the file start_server_dev.sh, which configures a default user admin and password only available on local.
Feel free to use docker-compose exec web
to configure your container, users etc.
You may want to use the file web.env.secrets.example.sh
and rename it to web.env.secrets.sh
after adding a NYT API KEY to develop better locally.
docker-compose -f docker-compose-test.yml up --build --remove-orphans
You can find basic functionality of our site in the DOMAIN.md file.
- Django - The web framework used
- Docker - Container management
- Heroku - Cloud Application Platform
- PostgreSQL - Open Source Database
- Travis - Test CI - Also deploys to Heroku with docker
- Git - Version control system
- GitHub - Software development platform
- django-bootstrap4 - Django Bootstrap Integration
- Behave - Integration Testing
- Splinter - Integration Testing
- Josep Maria Salvia Hornos
- Balma Cascón Piñol
- Anna Torres Tuca
- Sara Quejido Garriga
Icons made by Freepik from www.flaticon.com