Skip to content

Varunvaruns9/EssentialOilsDatabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Essential Oils Database

The code can be found at https://github.com/Varunvaruns9/EssentialOilsDatabase Essential oils of Himachal database is a database project which will help maintain the data of plants and the essential oils they contain and help the users to retrieve that information easily using a web application.

Installation instructions

  1. Clone the project from https://github.com/Varunvaruns9/EssentialOilsDatabase.git

  2. Install PostgreSQL

  3. Run these commands in psql prompt to create the database (Use a different password and username).

CREATE DATABASE oilsdb;
CREATE USER admin WITH PASSWORD 'adminpass';
ALTER ROLE admin SET client_encoding TO 'utf8';
ALTER ROLE admin SET default_transaction_isolation TO 'read committed';
ALTER ROLE admin SET timezone TO 'Asia/Kolkata';
ALTER DATABASE oilsdb OWNER TO admin;
exit
  1. Change the database username and password in the oilsdb/settings.py file. Use the same credentials as used in the last step.

  2. Install the requirements (Preferable if done in a virtual environment).

pip install requirements.txt
  1. Create the database and create the admin account.
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
  1. Run the tests.
python manage.py test
  1. Run the server.
python manage.py runserver

Documentation

Developer documentation can be compiled by going into docs/ folder and using make html command. The compiled docs can be accessed from docs/_build.

User documentation can be found at the Manual page on the main website or in the manual html template.

About

A database for various plants and essential oils present in Himalayan region.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors