Skip to content

CCSleep/ccsleep-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ccsleep.net source code

Source code for https://ccsleep.net/

Cosplay site. Poorly thrown together, but it works.

Original purpose is to create web gallery that can upload images via filesystems, and a 'usable' CMS.

Working on a rewrite because it's getting messy (especially the upload API).

Features

  • Blog
  • Admin Panel
  • Events Tables and Galleries Posts
  • Image Gallery (w/ upload via filesystem, tagging people)
  • Cosplayers (well it's a cosplay site)
  • Markdown support via Parsedown
  • Actually very easy to style, mostly classless

Deploying

Tested with PHP 7.3 and 8.0 (Apache only)

Requirements

  • Any S3 instance (in production, my web use Cloudflare R2)
  • PHP web server (Apache only!)
  1. Supply aws.phar from here and put it in common/ folder
  2. Edit common/s3_credentials.php to your own S3 credentials (the config is ready for Cloudflare R2)
  3. Create a database and import ccsleep.sql
  4. Edit common/conn.php to your database credentials
  5. Edit admin password on page/admin_login.php (default is admin, you should probably change it)
  6. Drag and drop this repo to your web server, and enjoy!

To access admin panel, access /admin on your web

To upload image folders, please see content/README.md

License

MIT

About

Source code for ccsleep.net (probably going to retire)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published