Skip to content

Astrotomic/opendor.me

dev
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

opendor.me

This is the repository for the opendor.me. The code is entirely open source and licensed under CC BY-NC-SA 3.0 License. Read the installation guide below to get started with setting up the app on your machine.

Requirements

The following tools are required in order to start the installation.

Installation

  1. Clone this repository with git clone https://github.com/Astrotomic/opendor.me.git
  2. Run cp .env.example .env to copy .env file
  3. Run make setup to setup local environment
  4. Run make start to start the application

Note: You can create your own phpunit.xml to customize your PhpUnit configuration.

Github Setup

To get Github authentication to work locally, you'll need to register a new OAuth application on Github. Use http://localhost:8080 for the homepage url and http://localhost:8000/auth/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 authentication with Github.

GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

Commands

Command Description
make composer-install Install composer dependencies
make run <command> Run the desire command inside container
make migrate Run the migration
make test Run the tests
make npm-dev Build the dependencies
make npm-install Install npm dependencies
make stop Stop the running containers