8000 GitHub - plutec/ibanapp
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

plutec/ibanapp

Repository files navigation

IBANAPP

Prerequisites

In order to develop and test this system, vagrant and virtualbox are required in your host machine.

Preparing the environment

This project uses vagrant to run the test environment, do the following:

  • Join in the project folder
  • vagrant up
  • Provisioning must be done during up, but if it does not happens, run: vagrant provision
  • vagrant ssh
  • Now, we must create only the first time the database and the username with:
  • sudo su - postgres
  • cd /vagrant
  • psql -f configure_db.sql

Preparing the tests

  • We must create a superuser in the django application:
  • cd /vagrant/ibanapp/
  • pipenv install --dev
  • pipenv shell
  • cd /vagrant/ibanapp/
  • ./manage.py migrate
  • ./manage.py createsuperuser
  • And introduce the first admin data (this last step is optional to run the tests)

Run tests

After preparing the environment, we can run the test joining in the virtual machine with

  • vagrant ssh
  • And running the complete test suite (pylint, flake8 and django tests)
  • cd /vagrant
  • tox

Google API creation

Run development server

If you prefer to run the server to check the application manually, you must start vagrant as the previous steps, going to the application folder and run:

python3 manage.py runserver 0.0.0.0:8000

And in your host machine, go to http://127.0.0.1:8000 in order to see the result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0