nettsiden/README.md

32 lines
1004 B
Markdown
Raw Normal View History

2016-08-15 17:43:41 +02:00
# Programvareverkstedet nettside
A website created with the latest and greatest web technologies.
May contain blackjack and other things one tends to include in awesome projects.
## Installation
git clone --recursive https://github.com/Programvareverkstedet/nettsiden.git
2016-08-15 17:43:41 +02:00
Put it in a folder your webserver can find.
2016-08-18 23:08:31 +02:00
## Development setup
Make sure you have sqlite3 and PHP installed, with pdo-sqlite module.
These can be obtained from your package manager.
2016-08-18 23:08:31 +02:00
./dev.sh
2021-03-16 20:00:02 +01:00
On Windows, you have to perform a `composer install` manually beforehand. Make sure you have PHP and sqlite3 available in path:
dev.bat
2021-03-16 20:00:02 +01:00
### Dependency management
`dev.sh` will download the `composer` package manager to the php archive file `composer.phar` and run it.
Composer will check for the php extension `pdo_sqlite` which must be enabled on your system. This usually includes installing a php-sqlite3 package and enabling it in /etc/php/php.ini.
php composer.phar update
php composer.phar install
## Hosting