Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
fix: revert floored private repo dependency concept
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmeinke committed Sep 23, 2018
1 parent 8c1a92c commit 2cee10b
Show file tree
Hide file tree
Showing 33 changed files with 3,649 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ notifications:
node_js:
- '10'
- '8'
before_install:
- echo -e "machine github.com\n login $GITHUB_TOKEN" > ~/.netrc
after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
Expand Down
2 changes: 1 addition & 1 deletion commands/hello.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const chalk = require('chalk')
const inquirer = require('inquirer')
const { team } = require('config')
const { team } = require('../config')

module.exports = () => {
inquirer
Expand Down
2 changes: 1 addition & 1 deletion commands/team.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const chalk = require('chalk')
const { team } = require('config')
const { team } = require('../config')

module.exports = ([cmd]) => {
switch (cmd) {
Expand Down
19 changes: 19 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Everything defined in this file should be
// data that we would be happy to share publically

module.exports = {
team: [
{ name: 'Aryeh', email: '[email protected]' },
{ name: 'Colin', email: '[email protected]' },
{ name: 'Ed', email: '[email protected]' },
{ name: 'Fran', email: '[email protected]' },
{ name: 'Ildar', email: '[email protected]' },
{ name: 'John', email: '[email protected]' },
{ name: 'Laszlo', email: '[email protected]' },
{ name: 'Leo', email: '[email protected]' },
{ name: 'Mario', email: '[email protected]' },
{ name: 'Mathew', email: '[email protected]' },
{ name: 'Monika', email: '[email protected]' },
{ name: 'Steve', email: '[email protected]' },
],
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"dependencies": {
"chalk": "^2.4.1",
"config": "git+https://github.com/serieseight/config.git#master",
"inquirer": "^6.2.0"
},
"description": "A pointless CLI",
Expand Down
39 changes: 39 additions & 0 deletions s8-test/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# The environment Craft is currently running in ('dev', 'staging', 'production', etc.)
ENVIRONMENT="dev"

# The secure key Craft will use for hashing and encrypting data
SECURITY_KEY=""

# The database driver that will be used ('mysql' or 'pgsql')
DB_DRIVER="mysql"

# The database server name or IP address (usually this is 'localhost' or '127.0.0.1')
DB_SERVER="127.0.0.1"

# The database username to connect with
DB_USER="root"

# The database password to connect with
DB_PASSWORD="root"

# The name of the database to select
DB_DATABASE="craft-starter.test"

# The database schema that will be used (PostgreSQL only)
DB_SCHEMA="public"

# The prefix that should be added to generated table names (only necessary if multiple things are sharing the same database)
DB_TABLE_PREFIX=""

# The port to connect to the database with. Will default to 5432 for PostgreSQL and 3306 for MySQL.
DB_PORT="3306"

MAIL_HOST="smtp.mailtrap.io"
MAIL_PORT="25"
MAIL_USER="5a2b54f40aa871"
MAIL_PASS="e6cfe70dc4b2f3"

#MAIL_HOST="smtp.mailgun.org"
#MAIL_PORT="25"
#MAIL_USER="[email protected]"
#MAIL_PASS="80ba75aaee5aa996ddcdae2ae5be3016"
5 changes: 5 additions & 0 deletions s8-test/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/.env
/.idea
/vendor
/web/assets
.DS_Store
21 changes: 21 additions & 0 deletions s8-test/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) Pixel & Tonic, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
55 changes: 55 additions & 0 deletions s8-test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Craft starter

A starter project for Craft 3.

## Craft setup

### Requirements

- PHP 7
- Mysql
- Apache
- Composer

### Setup

1. Clone this repositorymark
[[email protected]:serieseight/craft-starter.git](https://github.com/serieseight/craft-starter).
2. Run `composer install` to install Craft dependencies.
3. Create an empty MySQL database called `craft-starter.test`.
4. Copy `.env.example` to `.env` and edit the database settings *.
5. Add a config to your Apache `httpd-vhosts.conf` (see example below).
6. Add `127.0.0.1 craft-starter.test` to your `hosts` file.
7. Start your server and navigate to http://craft-starter.test/admin.
8. Follow the Craft install instructions on screen.
9. Once installed navigate in the admin UI to `settings > plugins` and install
"Asset Rev" and "SEOmatic".


\* Everyone will also need to use the same security key in their `.env` file. To
generate a new key run `./craft setup/security-key` (this will be added to your
`.env` file).

## Apache example config

```
<VirtualHost *:80>
DocumentRoot "/path/to/craft-starter/web"
ServerName craft-starter.test
<Directory />
AllowOverride All
Options -Indexes +FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
```

## CSS & JS

There is no defined build process. But the default template expects CSS and JS
to be output to `/web/assets/css/main.css` and `/web/assets/js/main.js`
respectively.

The `/assets` directory is not commited to the git repository, so deployment
will require a build process.
47 changes: 47 additions & 0 deletions s8-test/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"name": "craftcms/craft",
"description": "Craft CMS",
"keywords": [
"craft",
"cms",
"craftcms",
"project"
],
"license": "MIT",
"homepage": "https://craftcms.com/",
"type": "project",
"support": {
"email": "[email protected]",
"issues": "https://github.com/craftcms/cms/issues",
"forum": "https://craftcms.stackexchange.com/",
"source": "https://github.com/craftcms/cms",
"docs": "https://craftcms.com/docs",
"rss": "https://craftcms.com/changelog.rss"
},
"require": {
"craftcms/cms": "^3.0.0",
"vlucas/phpdotenv": "^2.4.0",
"nystudio107/craft-seomatic": "^3.1",
"clubstudioltd/craft-asset-rev": "^6.0"
},
"autoload": {
"psr-4": {
"modules\\": "modules/"
}
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.0"
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@composer dump-autoload -o",
"@php craft setup/welcome"
]
}
}
Loading

0 comments on commit 2cee10b

Please sign in to comment.