Skip to content

Commit 0f6e67f

Browse files
📝 Update README
1 parent f2cba8b commit 0f6e67f

File tree

1 file changed

+32
-18
lines changed

1 file changed

+32
-18
lines changed

README.md

+32-18
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# Vagrant based development environment
1+
# Vagrant Based Wordpress Development Environment
22

33
a Vagrant configuration designed for development of WordPress plugins, themes, or websites.
44

5-
## Requirements
5+
- [System Requirements](#system-requirements)
6+
- [Installation](#installation)
7+
8+
## System Requirements
69

710
Install all of the followings:
811

@@ -11,28 +14,39 @@ Install all of the followings:
1114
- [vagrant-hostmanager](https://github.com/smdahlen/vagrant-hostmanager#installation)
1215
- [Node.js](http://nodejs.org/)
1316

14-
## Configuration
17+
## Installation
1518

16-
In your root directory run the following commands:
19+
```sh
20+
# Clone repository
21+
$ git clone git@github.com:code2gether/vagrant-wordpress-dev-environment.git
22+
# or if you want to rename the theme directory name
23+
$ git@github.com:code2gether/aylin.git <theme-name>
24+
```
1725

18-
1. Run `vagrant up` to start a Vagrant environment.
19-
2. Run `composer install`
26+
Change into your directory `cd vagrant-wordpress-dev-environment` directory run the following commands:
2027

21-
Install all NPM packages, change your theme directory:
28+
```sh
29+
1. vagrant up # start a Vagrant environment.
30+
2. composer install # install packages for wordpress
31+
```
2232

23-
- cd `wp-content/themes/your-theme`
24-
- Run `npm install` then `npm run build` to compile all your `SCSS`, and `JS` files
33+
## Theme Installation
2534

26-
## Run
35+
If you notice after running `vagrant up`, a new folder `wp-content` created in your root project, this is because it symlinked `wp-content` to `wp/wp-content` please don't mess with `wp` directory. So now you can add your own theme to `themes` inside `wp-content` directory.
2736

28-
- vagrant up
29-
- cd wp-content/themes/like-v.6.0
30-
- npm run start
37+
## Aylin Starter Theme
38+
39+
To get our starter wordpress theme
3140

32-
## General notes
41+
1. change your directory into `cd wp-content/themes/` in your root files.
42+
2. Clone our starter theme `git clone https://github.com/code2gether/aylin`
3343

34-
- Anytime you want to run vagrant run `vagrant up`. To stop it run `vagrant halt`.
44+
you can find more informtion on our theme readme file.
45+
46+
## Development
47+
48+
- vagrant up
49+
- cd wp-content/themes/aylin
50+
- yarn start | npm run start
3551

36-
- Keep in mind, when you add add/change styling in your `SCSS` files you need to compile your `SCSS` files by:
37-
- `cd wp-content/themes/your-theme`
38-
- either you run `npm run build` or `npm run start` to keep watching changes.
52+
If you want to stop vagrant you need to run `vagrant halt` in command line.

0 commit comments

Comments
 (0)