Skip to content

iohenkies/iskylims_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iSkyLIMS

Setup a local development environment for iSkyLIMS.

With a few adjustments this can easily be adopted to a multiuser production ready solution, but I haven't had the time.

Prerequisites

  • Linux workstation
  • Docker installed
  • Docker compose installed
  • Standard tools like git and vim

Steps

From your command line:

$ cd
$ git clone [email protected]:iohenkies/iskylims_docker.git
$ cd iskylims
$ ls -al

In the conf folder, you can edit what you need. What you need to change always is:

  • INSERTDJANGOPASS at ./conf/settings.py
  • INSERTROOTPASS and INSERTDJANGOPASS at ./docker-compose.yml
  • INSERTROOTPASS and INSERTDJANGOPASS at ./scripts/migrations

Then, still from the iskylims folder:

$ sudo docker build -t iskylimsapp .
$ sudo docker-compose up -d
$ sudo docker exec -it iskylimsapp /srv/iSkyLIMS/migrations
$ sudo docker-compose restart

On you workstation navigate to http://localhost:8000 with your browser.

Be sure to run the migrations script only once.

Setup user and configure

We have to setup a super user. With this user we can manage users, groups and settings.

Use these commands, we're temporary enter the iSkyLIMS container to set this up:

$ sudo docker exec -it iskylimsapp bash
# cd /srv/iSkyLIMS
# ./manage.py createsuperuser
<follow the prompts>
# exit

You can now login at the admin page at http://localhost:8000/admin.

More information here.

Author information

iohenkies

About

Local development docker for the iSkyLIMS project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published