-
Notifications
You must be signed in to change notification settings - Fork 60
Dev ~ Installation Instructions
Because our list of required python packages and operating system packages is extensive, the easiest approach to running the OMF is via Docker. Here is our Docker file with instructions on usage embedded.
-
Some requirements need to be installed before running the OMF installation script.
- git
- Chocolatey
- Python 3.6.8. Make sure you select the one optional installation component that adds Python to the path and install in the C:\Python36\ directory
-
Get the OMF source with git:
git clone https://github.com/dpinney/omf.git
-
With your cmd or powershell application run as administrator (right-click + run as administrator), run the installation script:
python install.py
-
Test by starting the web server with
cd omf; python web.py
. You should then be able to access the login page at http://127.0.0.1:5000/. The default user/pass is admin/admin.
-
Install the pre-requisite packages:
sudo apt-get install git python
-
Get the OMF source with git:
git clone https://github.com/dpinney/omf.git
-
Run the installation script in the omf directory
sudo python install.py
-
Test by starting the web server with
python web.py
in the omf directory. You should then be able to access the login page at http://127.0.0.1:5000/. The default user/pass is admin/admin.
Make sure your distro has Python 3.6 or later.
-
Install the pre-requisite packages:
sudo yum install git python
-
Get the OMF source with git:
git clone https://github.com/dpinney/omf.git
-
Run the installation script in the omf directory
sudo python install.py
-
Test by starting the web server with
python web.py
in the omf directory. You should then be able to access the login page at http://127.0.0.1:5000/. The default user/pass is admin/admin.
-
Some requirements need to be installed before running the OMF installation script.
-
Install the homebrew version of python 3:
brew install python3
-
Get the OMF source with git:
git clone https://github.com/dpinney/omf.git
-
Run the installation script in the omf directory
python3 install.py
-
Test by starting the web server with
python web.py
in the omf directory. You should then be able to access the login page at http://127.0.0.1:5000/. The default user/pass is admin/admin.
To contribute your changes back to the OMF, follow the above steps on a forked copy of the repo and send us a pull request. Full details on the process are at https://help.github.com/articles/fork-a-repo/.
Both Windows and Linux OMF can be uninstalled by running the following command in the OMF directory.
python setup.py uninstall
The link in the site-packages (Windows) or dist-packages (Linux) folder will be removed. The code will remain where you cloned it until you delete it.