Skip to content

yeomps/opengb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Gigabot Controller.

Not yet ready for production use.

Installation:

Instructions are for Debian-based distros.

###Python 3.4

Install Python3.4:

sudo apt-get install python3.4

###Virtualenv

Install Virtualenv:

sudo apt-get install python-virtualenv

Create a new python3.4 virtualenv:

mkdir ~/virtualenvs
virtualenv -p python3.4 ~/virtualenvs/opengb

Switch to the new virtualenv:

source ~/virtualenvs/opengb/bin/activate

###Install from github

pip install -e git+git://github.com/re-3D/openGB@master#egg=openG

###Create database directory

Note: this will happen automatically when openGB is distributed as a package.

sudo mkdir /var/opengb
sudo chown <your_user>:<your_group> /var/opengb

###Deploy config file

Note: this will happen automatically when openGB is distributed as a package.

sudo mkdir /etc/opengb
sudo chown <your_user>:<your_group> /etc/opengb
sudo cp ~/virtualenvs/opengb/lib/python3.4/site-packages/opengb/etc/opengb.conf /etc/opengb

Once deployed, edit this file to set the appropriate parameters for your system.

###Add user to dialout group

Required for serial port access:

sudo adduser <your_user> dialout

##Running

Switch to the virtualenv and start opengb:

source ~/virtualenvs/opengb/bin/activate
opengb

Navigate to http://localhost:8000 and the OpenGB interface should appear.

About

Control interface for the Open Gigabot 3D printer by re:3D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.8%
  • HTML 24.6%
  • CSS 2.9%
  • JavaScript 2.7%