You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Clone your chosen WallacePOS release to %your_install_dir% if you haven't done so already.
83
+
84
+
2. Configure the database by copying %your_install_dir%/library/wpos/dbconfig_template.php to %your_install_dir%/library/wpos/dbconfig.php and fill in your own values.
85
+
86
+
3. Install the database schema & templates:
87
+
88
+
1. Enable the /library/installer/index.php file by removing the die(); command at the start
89
+
2. Access library/installer/?install from the web browser to install the database schema
90
+
91
+
OR
92
+
93
+
1. Manually install the database schema at %your_install_dir%/library/installer/schemas/install.sql using your favoured sql management method.
94
+
2. Copy docs-template folder to docs, make sure it is writable by your apache user (eg. www-data)
95
+
96
+
4. Login to the admin dashboard at /admin using credentials admin:admin, from the menu go to Settings -> Utilities and click the Start button under Feed Server
97
+
98
+
5. Change default passwords in Settings -> Staff & Admins!
47
99
48
100
## Deploying using dokku
49
101
50
102
To deploy WallacePOS on dokku:
51
103
52
104
1. Install [dokku-buildpack-multi](https://github.com/pauldub/dokku-multi-buildpack) on your dokku host
53
105
54
-
2.Copy /library/wpos/dbconfig_template.php to dbconfig.php and fill in your own values
106
+
2. Fork the WallacePOS to a PRIVATE repo (IMPORTANT), copy /library/wpos/dbconfig_template.php to dbconfig.php and fill in your own values
55
107
56
108
**OR**
57
109
58
-
Use my [dokku mysql plugin](https://github.com/micwallace/dokku-mysql-server-plugin) to create and link the database automatically
59
-
60
-
## Installation & Startup
61
-
62
-
### To install the database:
110
+
Use my [dokku mysql plugin](https://github.com/micwallace/dokku-mysql-server-plugin) to create and link the database automagically
63
111
64
-
1. Enable the /library/installer/index.php file by removing the die(); command at the start
65
-
2. Access library/installer/?install from the web browser to install the database schema
112
+
3. Deploy in the usual manner.
66
113
67
-
### To run the feed server
114
+
4. Login to the admin dashboard at /admin using credentials admin:admin & change the default passwords in Settings -> Staff & Admins!
68
115
69
-
- Run /api/server.js using node.js or login to the admin dashboard, go to settings -> utilities and click the start button under feed server.
0 commit comments