Administrator guide
For the person who runs a Codesey site.
What you deploy #
One Laravel application serves two addresses: the public site (for example codesey.com: this site, the software store, support, the admin panel) and the desktop (for example app.codesey.com). They share a sign-in cookie.
Installing and updating #
- Upload the files (without
vendor/and.env), runcomposer install --no-dev, copy.env.exampleto.envand set the database,CODESEY_MAIN_DOMAIN,CODESEY_APP_DOMAINandSESSION_DOMAIN. - Run
php artisan key:generate,php artisan migrate, andphp artisan config:clear. - Serve
public/with Apache or nginx (PHP-FPM), for both domains. - After every update:
php artisan migrate,php artisan config:clear, and a hard reload (Ctrl+Shift+R) on screens that were open.
Create your admin account with php artisan codesey:make-admin you@example.com.
The admin panel #
When signed in as an administrator you'll see Admin in the site header.
Software #
Add programs as a .zip with a manifest.json (see Writing programs). Uploads are extracted strictly (no script files, size and count limits). Mark a package Published to show it in the store; unpublished ones stay drafts. You can update a package by uploading a new version.
Services #
Admin → Services shows the server services each program asked for (see Server services): the web hosts it may call, its API keys (you paste them here; they are stored encrypted and never shown again), and a 7-day activity summary. The web reader is off until you set CODESEY_WEB_READER=true; you can restrict it with CODESEY_WEB_ALLOW or exclude sites with CODESEY_WEB_BLOCK.
Tickets #
Under Admin → Tickets you'll see support reports from signed-in users. Open one to read the conversation and the technical context that came with it. You can reply (the person sees it on their Support page and gets a badge), add a private note (only you see it), change the status (open, in progress, resolved, closed) and the type. Filter by status or type and search by subject, text or person. The number next to Tickets (and Admin) is the count of tickets needing attention.
Limits you can change (.env) #
| Setting | Default | What it does |
|---|---|---|
CODESEY_QUOTA_MB |
200 | Each account's file storage |
CODESEY_MAX_FILE_MB |
100 | Largest single upload |
CODESEY_EDIT_MAX_KB |
1024 | Largest text file the Text Editor opens |
CODESEY_APP_QUOTA_MB |
5 | Saved data per program, per account |
CODESEY_APP_ACCOUNT_QUOTA_MB |
50 | Saved data across all programs |
CODESEY_STREAM_TTL_MINUTES |
360 | How long a video/audio link lasts |
Also raise PHP's upload_max_filesize and post_max_size above your biggest upload.
Backups #
Back up the database and these folders: storage/app/user-files/ (people's files) and storage/app/software/ (uploaded packages).
Good to know #
- Password reset and email verification aren't built yet.
- A program's saved data survives uninstalling; users can remove it from Software.
- The site's Status & limits page shows the live limits to your users.