epigen-UCSD / epigen_ucsd_django

1 stars 1 forks source link

[adminAPP] function to save the service request #421

Open biomystery opened 4 years ago

biomystery commented 4 years ago

Instructions for developing in local computer

  1. [x] clone this repo to your local environment
  2. [x] create a branch on your local
  3. [x] setup the dependency packages [django=2.2.8,python3]
  4. [x] setup a database (postgresDB)
  5. [x] test if you can launch the local version of this LIMS
  6. [x] make 8000/manager/collab_list/ URL working (you need add more groups and people in the data base; you can use the group data on http://epigenomics.sdsc.edu:8000/manager/collab_list/
  7. [x] put the rate table into the database (check the model.py for the details about the rate table; the rates are in the 2nd slide https://www.dropbox.com/s/1ugibhr3tcjm4jd/2020-03-04_Epigenomic%20Services_pricing%2C%20quotes%2C%20invoices_Lauren.pptx?dl=0)
  8. [x] be able to do the same ad our LIMS for Add a new ServiceRequest (can see the confirm page)
  9. [x] be able to save it and display after click confirm
biomystery commented 4 years ago
  1. https://github.com/epigen-UCSD/epigen_ucsd_django/tree/master/db
  2. check epigen_ucsd_django/setting.py
biomystery commented 4 years ago
biomystery commented 4 years ago
[django]
SECRET_KEY: 

[database]
DATABASE_USER: postgres
DATABASE_PASSWORD: 
DATABASE_HOST: 127.0.0.1
DATABASE_PORT: 5432
DATABASE_ENGINE: django.db.backends.postgresql_psycopg2
DATABASE_NAME: django_data
NEXTSEQAPP_DMPDIR: /projects/ps-epigen/nextSeq/
LIBQC_DIR: /projects/ps-epigen/outputs/libQCs/
SETQC_DIR: /projects/ps-epigen/outputs/setQCs/
FASTQ_DIR: /projects/ps-epigen/seqdata/
MEDIA_ROOT: /home/zhc268/epigen_ucsd_django/data/masterseq_app/
TENX_DIR: 
ENCODE_TM_DIR: 

[snapp]
TENX_WEBSUMMARY: /outs/web_summary.html
COOLADMIN_DIR: 
SCRNA_DIR: 
EXPOSED_OUTS_DIR: 
biomystery commented 4 years ago

420