-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Conversation
- 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
There was a problem hiding this 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. |
There was a problem hiding this comment.
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:** |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
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.