This project is the login service for Curio SD. It is open-source for educational purposes.
This is a Laravel application. To get started, clone the repository and install the dependencies:
git clone https://github.com/curio-team/sdlogin.git
cd sdloginTip
On production you may want to use composer install --no-dev to avoid installing development dependencies.
composer installTip
If you get errors during the composer install, make sure you have the correct PHP version and extensions installed (like sodium). » Read how to install PHP extensions on Windows
npm installThen, copy the .env.example file to .env and configure your environment variables:
cp .env.example .envGenerate the application key:
php artisan key:generateEnsure the OAuth keys are generated:
php artisan passport:installFinally, run the migrations:
php artisan migrateYou can now start the Vue development server and the Laravel application:
npm run dev
php artisan serve-
Ask a teacher to create a new client application for you.
-
Install the
curio/sdclientpackagecomposer require curio/sdclient
-
Follow the instructions in the
sdclientREADME
We welcome contributions from the community. Please see the contributing guide for more information.