apt-get install python3-minimal
apt-get install build-essential python3-setuptools
Open your Terminal and enter:
If you are on a fresh server and logged in as root, at first create a dedicated user for dokos
& equip this user with sudo privileges
adduser [dokos-user] usermod -aG sudo [dokos-user]
And connect yourself to this user's session
su - [dokos-user]
Running the script for production:
sudo python3 install.py --production --user [dokos-user]
The applications are named Frappe and ERPNext because dokos is an adaptation of these software.
The underlying architecture is similar to these two software.
You can get more info on their respective documentation sites: Frappe, ERPNext
Your process will be automatically setup and managed by
If that's not the case, you can run from the bench folder:
sudo bench setup production [dokos-user]
You can then connect to your server's address to start utilizing dokos.
If your server's address is 18.104.22.168, enter it in your browser to start using dokos.
For bench help, you can type
To manually update the bench, run
bench update to update all the apps, run
patches, build JS and CSS files and restart supervisor.
You can also run the parts of the bench selectively.
bench update --pull will only pull changes in the apps
bench update --patch will only run database migrations in the apps
bench update --build will only build JS and CSS files for the bench
bench update --bench will only update the bench utility (this project)
bench update --requirements will only update dependencies (python packages) for the apps installed