|
Connecting to the Code Sylist guest server
- You can start by using our guest server to try out the program's features.
- Click on the Setup button in Code Stylist to view your project configuration.
- Leave all form elements at their default settings. Click the Verify Setup button and wait for the server to create a database for you. When the loading tables message disappears you are ready to go. This step may take several minutes depending on the speed of your internet connection.
- When the Verify Setup button changes into a greyed-out Setup Verified button, you are ready to begin creating tables.
Connecting to your own database on a web server
- Copy the supplied codestylist.php file (located in the Code Stylist application folder) to a location of your own choice on your webserver and then create a folder right next to it called site. Set the permissions for both the codestylist.php file and the site folder to 755.
- What if I trashed the codestylist.php file? From the menu, click File >> Copy To and choose a destination for the codestylist.php file. In the same location, create a folder named site and set its permissions to 755. Upload the codestylist.php file and the site folder to your webserver.
- Click the Setup button in Code Stylist and enter or select the following information about your database. If you don't have a database yet, you may need to use your web hosting company's control panel to create one.
- After you have filled in all of the information for your database (shown below), click Verify Setup and wait a few minutes while codestylist uploads the files it needs to operate on your webserver. At this point codestylist generates several sample Tables.
What Code Stylist does when you click "Verify"
- After you have filled in all of your database information and clicked the Verify button, Codestylist does three things:
- First, Code Stylist uploads approximately 780 files to the directory you have designated on your webserver. (The same one with the codestylist.php file and the site folder). Most of these are the elements of the codestylist themes that will give you flexibility in managing and transforming the look and feel of your website. This step takes about 10 min. on a rather slow 150kb connection.
- Next Codestylist will verify your database connection.
- Next, Codestylist creates several default tables in your database. These are:
-
- categories
- categories_entries
- comments
- db_sessions
- entries
- events
- groups
- identities
- links
- memberships
- people
- posts
- reviews
- Last, but still important, Code Stylist loads the tables from your database to refresh them in the project. Be sure and wait until this step is completed before attempting to create pages and tables.
Explanation of verify form elements
Base URL: This is the location for the codestylist.php file and "site" folder. Example: http://mywebserver.com/codestylist/ If your webserver is set to change http://your_url to http://www.your_url then you will need to enter the www. URL in order for codestylist to connect.
Use SSL: Check this box only if your Code Stylist site will reside in a directory with SSL (secure socket layer), in which case the URL would begin with https:// ...
Database Type: MySQL or PostgreSQL.
Database Host: localhost may work if your database is located on your webserver. Otherwise, enter the URL or IP address for your database.
Port: Default is 3306.
Database Name, Username, and Password: These were set when you created your database.
Web Server Type: Either Unix/Mac, or Windows.
Mode: Development
Set a Password: If you check this box, Codestylist will ask you to create a password to protect your project from being edited without your consent.
|