This is the public source code repository for DevClub's website. The code is entirely open source and licensed under the MIT license. We welcome your contributions. Read the installation guide below to get started with setting up the app on your machine.
DevClub is one of the largest active, and original hackathons, where we build a talented and collaborative community of developers. Come to share your experiencies and meet with like-minded developers and ICT industry leaders, technologists, academicians, and experts for engaging and motivating conversations around specific topics including deep-dive Introduction to latest technologies and trends, development methodologies, cultures and approaches, software projects estimation and management, lessons learned world best-practices, standards and a total modernization of laest techologies and a lot more.
The following tools are required in order to start the installation.
- PHP >= 7.0.0
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Clone this repository:
git clone https://github.com/devclubaf/website.git - Run
composer install - Run
npm installto install the dependencies as defined in the package.json file. - you can create
.envbycp .env.example .envthen add your db credential in it. - Run
php artisan key:generateto generate a key for your app. - Run
php artisan migrateto run the database migrations. - (optional) Set up Github authentication (see below).
- Run
composer serveto Serve the application on the PHP development server.
You can now visit the app in your browser by visiting http://127.0.0.1:8000.
To get Github authentication to work locally, you'll need to register a new OAuth application on Github. Use http://127.0.0.1:8000 for the homepage url and http://127.0.0.1:8000/register/github/callback for the callback url.
When you've created the app, fill in the ID and SECRET in your .env file in the env variables below. You should now be able to register with Github.
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_REDIRECT=http://127.0.0.1:8000/register/github/callback
Note: This repository uses Laravel Mix, To get more help on Laravel Mix go check out the https://laravel.com/docs/5.5/mix.
