This is the companion web server for the Codename One social network app demo from the August 11, 2015 Webinar.
See the client project here.
The MIT License (MIT)
Copyright (c) 2015 Codename One
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copy this application onto your web server. The following are instructions using GIT through shell on your server.
$ git clone https://github.com/shannah/social-network-server.git $ cd social-network-server $ ant $ cp conf.ini-sample conf.ini
The last call to ant
will clone Xataface into the xataface
subdirectory.
Create an empty MySQL database, and create a user for the database with full permissions granted.
Modify the settings in the conf.ini
file to match the information for the database you created in step 2. You should only need to modify the [_database]
section.
[_database] host=localhost name=<database name> user=<mysql_username> password=<mysql_user_password>