File tree Expand file tree Collapse file tree 1 file changed +39
-21
lines changed Expand file tree Collapse file tree 1 file changed +39
-21
lines changed Original file line number Diff line number Diff line change 1
- # Adonis fullstack application
1
+ # Ecommerce Course
2
2
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
4
6
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
13
9
14
- ## Setup
15
-
16
- Use the adonis command to install the blueprint
17
10
11
+ ## Installations
18
12
``` 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
20
36
```
21
-
22
- or manually clone the repo and then run ` npm install ` .
23
37
24
38
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
+ ```
26
47
27
- Run the following command to run startup migrations.
48
+ Site will be live at localhost:3000
28
49
29
- ``` js
30
- adonis migration: run
31
- ```
You can’t perform that action at this time.
0 commit comments