Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create SPARKBOX-SETUP.md #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

k80bowman
Copy link

@k80bowman k80bowman commented Apr 16, 2018

I went ahead and created a SPARKBOX-SETUP file with more than just the Common Issues section, providing a link to the Apache setup doc in the Standard and bringing back the info on setting up the database and installing Craft itself.

  • Add info from old README about setting up database and installing Craft
  • Add Common Issues section

Katy Bowman added 5 commits April 16, 2018 12:29
- Add info from old README about setting up database and installing Craft
- Add Common Issues section
- specify php 7.0.22
- only runs composer install
Copy link

@cromwellryan cromwellryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the content in here! I wonder if we should either make this SPARKBOX.md or a sparkbox folder. The folder would scale if we wanted anything else. Thoughts/opinions?


### Installing MySQL

We will not be using homebrew for mysql installations.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in the laptop script.


**For MySQL 5.7 +**

**After installing, you’ll need to do the following:**

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go in the laptop script if needed. The laptop script is intended to be rerunnable too–FYI.


[https://craftcookbook.net/recipes/making-craft-play-nicely-with-mysql-5-7-5](https://craftcookbook.net/recipes/making-craft-play-nicely-with-mysql-5-7-5)

### Install Sequel Pro

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we've committed to any specific DB editor across the board. I could see this going in the standard under software or in the laptop script by using brew cask


Download and install the binary for Sequel Pro. This (free) application will be able to create databases, users, and export/import data from external databases.

### Sparkbox Craft Install

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe Creating a new project?


$ composer install

### Create Craft Project Database

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Craft can be run at the CLI (I think it even prompts you do after install). With that in mind, I feel like that might be the most streamlined setup instructions.

Tell Craft how to access your database by updating the .env file in your project directory with the database name, user, and password.


### Run Craft

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the CLI comment above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants