The upstream Anchor CMS repository was set to read-only on May 19, 2020. You can read the original Anchor CMS team's "goodbye message" on their homepage.
Nerd on the Street uses Anchor CMS for our archive site (a collection of videos showing previous versions of the main NOTS website). In order to continue running this simple website, this repo keeps Anchor CMS up-to-date with the minimal required changes to run on modern versions of PHP.
Security and bug fixes are welcome. Nerd on the Street provides no warranty with this fork, and would still recommend you choose a more actively developed CMS for production projects.
Anchor is a super-simple, lightweight blog system, made to let you just write. Check out the site or checkout the documentation here.
- PHP 5.6+
- curl
- mcrypt
- gd
- pdo_mysql or pdo_sqlite
- MySQL 5.6+ (MySQL 5.7 recommended)
To determine your PHP version, create a new file with this PHP code: <?php echo PHP_VERSION; ?>// version.php or run php -v in the command line. This will print your version number to the screen.
- Ensure that you have the required components.
- Download Anchor either from here, by cloning this Github repo or by running:
composer create-project anchorcms/anchor-cms anchor
- Upload Anchor through FTP/SFTP or whatever upload method you prefer to the public-facing directory of your site.
- Ensure that the permissions for the
contentandanchor/configfolders are set to0775and that all files belong to the web user or is a part of the same group as the web user. - Create a database for Anchor to install to. You may name it anything you like. The method for database creation varies depending on your webhost but may require using PHPMyAdmin or Sequel Pro. If you are unsure of how to create this, ask your host.
- Navigate your browser to your Anchor installation URL, if you have placed Anchor in a sub directory make sure you append the folder name to the URL:
http://MYDOMAINNAME.com/anchor - Follow the installer instructions.
- For security purposes, delete the
installdirectory when you are done.
If you can't install Anchor, check the forums; there's probably someone there who's had the same problem as you, and the community is always happy to help. Additionally, check out the documentation.
If you'd like to help out and contribute to this project, please take a look at the contributing guidelines. All information you need to get started should be included in there. If you have any questions then create an issue, make a forum post or message us directly.
