Skip to content

Commit 7c0340a

Browse files
Added changes to readme file
1 parent 2b054e3 commit 7c0340a

File tree

1 file changed

+39
-21
lines changed

1 file changed

+39
-21
lines changed

README.md

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,49 @@
1-
# Adonis fullstack application
1+
# Ecommerce Course
22

3-
This is the fullstack boilerplate for AdonisJs, it comes pre-configured with.
3+
## Requirements
4+
Node JS installed
5+
We are running Node, Gulp, and MYSQL
46

5-
1. Bodyparser
6-
2. Session
7-
3. Authentication
8-
4. Web security middleware
9-
5. CORS
10-
6. Edge template engine
11-
7. Lucid ORM
12-
8. Migrations and seeds
7+
If you are not following along from scratch and wish to run this project
8+
download or clone this repo and follow these steps
139

14-
## Setup
15-
16-
Use the adonis command to install the blueprint
1710

11+
## Installations
1812
```bash
19-
adonis new yardstick
13+
sudo npm i -g @adonisjs/cli
14+
sudo npm install har-validator@latest --save-dev
15+
sudo npm install
16+
sudo npm install gulp@3.9.1 -g
17+
sudo npm install webpack@4.25.1 -g
18+
sudo npm install webpack-cli@3.1.2 -g
19+
```
20+
## Running App
21+
check both versions of gulp are 3.9.1 local and global
22+
```bash
23+
gulp -v
24+
```
25+
Then make sure to make a new copy of the .env.example file and rename it to .env thats where you will put your passwords or database info
26+
```bash
27+
cp .env.example .env
28+
```
29+
Run adonis key:generate to generate the secret key
30+
```bash
31+
adonis key:generate
32+
```
33+
Run adonis migration:run to setup the database
34+
```bash
35+
adonis migration:run
2036
```
21-
22-
or manually clone the repo and then run `npm install`.
2337

2438

25-
### Migrations
39+
Serve Application in Dev mode
40+
```bash
41+
adonis serve --dev
42+
```
43+
Then Run Browser sync in proxy in a new terminal window
44+
```bash
45+
npm run proxy
46+
```
2647

27-
Run the following command to run startup migrations.
48+
Site will be live at localhost:3000
2849

29-
```js
30-
adonis migration:run
31-
```

0 commit comments

Comments
 (0)