Skip to content

simmotde/de-dns-servers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  1. (Optional) Install virtual env and activate it.
pip3 install virtualenv
virtualenv venv
source venv/bin/activate
  1. Install the requirements for the project.
pip install -r requirements.txt
pip install psycopg2-binary
pip install psycopg2
  1. In the provided database host from the test file, create a database with name of the following format <your surname>_<your birthdate in MMDD>. You will use this database in the next step.

  2. In jpd_test folder, copy .env-dist file to a file on the same folder with name .env. Fill up each environment variable with values. These will be used to determine the database your Django project will connect to.

  3. Run django migrations to prepare your database.

python manage.py migrate
- Confirm that this worked by checking that `de_dns_servers` table have been created in your database.
  1. Run the server
python manage.py runserver
  1. Go to your browser and access localhost:8000/de-dns-servers. You should see a page that says 'No dns servers are available.'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published