1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-07 22:45:24 +02:00
documize/domain/onboard/dmz_section_meta.json

1 line
5.8 MiB
JSON
Raw Normal View History

[{"id":1,"created":"2016-06-13T10:30:17Z","revised":"2018-06-18T16:43:03Z","orgId":"bk54k53c1osmepq14jq0","userId":"w4Nm8Fgw","documentId":"V16LOMucxwABhZF1","pageId":"V16LOMucxwABhZF2","rawBody":"\u003cp\u003eThe Documize Community edition repositiory is: \u003ca href=\"https://github.com/documize/community\"\u003ehttps://github.com/documize/community\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eAlthough the Documize binaries run on Linux, Windows and macOS, the build process has only been tested on macOS.\u003c/p\u003e\n\u003cp\u003eInstall the prerequisites:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eGo from \u003ca href=\"https://golang.org\"\u003ehttps://golang.org\u003c/a\u003e (be careful to set the $GOPATH environment variable correctly, you may find \u003ca href=\"https://www.goinggo.net/2016/05/installing-go-and-your-workspace.html\"\u003ehttps://www.goinggo.net/2016/05/installing-go-and-your-workspace.html\u003c/a\u003e helpful)\u003c/li\u003e\n\u003cli\u003eNode (v4.4.5 LTS+) from \u003ca href=\"https://nodejs.org/\"\u003ehttps://nodejs.org/\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003eNPM from \u003ca href=\"https://www.npmjs.com\"\u003ehttps://www.npmjs.com\u003c/a\u003e \u003c/li\u003e\n\u003cli\u003eEmber from \u003ca href=\"http://emberjs.com/\"\u003ehttp://emberjs.com/\u003c/a\u003e \u003c/li\u003e\n\u003cli\u003eBower from \u003ca href=\"https://bower.io/\"\u003ehttps://bower.io/\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003eMySQL (v5.7.10+) from \u003ca href=\"http://dev.mysql.com/downloads/mysql/\"\u003ehttp://dev.mysql.com/downloads/mysql/\u003c/a\u003e (don't forget to copy the one-time password and your system may require a restart)\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eMake sure this repository sits at the following position relative to your $GOPATH: \u003ccode\u003e$GOPATH/src/github.com/documize/community\u003c/code\u003e\u003c/p\u003e\n\u003cp\u003eAfter cloning the repository in the above location, go there and run:\u003c/p\u003e\n\u003cpre style=\"padding-left: 30px;\"\u003e\u003ccode\u003ecd gui\u003cbr /\u003e\u003c/code\u003e\u003ccode\u003enpm install\u003c/code\u003e\u003ccode\u003e\u003cbr /\u003e\u003c/code\u003e\u003ccode\u003ecd ..\u003cbr /\u003e\u003c/code\u003e\u003ccode\u003e./build.sh \u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThe build script packages up the Ember JS/HTML/CSS code for production use, then generates Go code that creates a simple in-memory file system to contain it. That generated Go code is compiled with the rest to produce a single binary for each of the target systems. \u003c/p\u003e\n\u003cp\u003eYour \u003ccode\u003e./bin\u003c/code\u003e directory should now contain a set of binaries for a number of target systems. This binary can be executed on any system which also has access to a MySQL database with no further dependencies.\u003c/p\u003e\n\u003cp\u003eUse a MySQL tool (like \u003ca href=\"https://dev.mysql.com/downloads/workbench/\"\u003eMySQLWorkbench\u003c/a\u003e) to create an empty database for Documize to use, making sure that the default collation setting is \u003ccode\u003eutf8_general_ci\u003c/code\u003e or some other utf8 variant. For advice on how to configure your MySQL server, \u003ca href=\"/s/VzO9ZqMOCgABGyfW/installation/d/V2KuM8ICcQABagM5/mysql-setup-and-tuning-guide\"\u003esee this guide\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eRun Documize for the first time to set-up the database and your user information (for example on OSX, using port 5001, MySQL user root/password and database documize):\u003c/p\u003e\n\u003cpre style=\"padding-left: 30px;\"\u003e\u003ccode\u003e./bin/documize-darwin-amd64 -port=5001 -db='root:password@tcp(localhost:3306)/documize'\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eAn error message will appear in the log to say your installation is in set-up mode. Now navigate to \u003ca href=\"http://localhost:5001\"\u003ehttp://localhost:5001\u003c/a\u003e and follow the instructions.\u003c/p\u003e\n\u003cp\u003eHopefully you will now have a working Documize instance.\u003c/p\u003e\n\u00