Skip to content

Commit f0ea6ba

Browse files
authored
Merge pull request #9 from klickpages/release/new-home
Release/new home
2 parents 32ebf26 + caee394 commit f0ea6ba

File tree

80 files changed

+94296
-15460
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+94296
-15460
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ export default {};
5050

5151
## Documentation
5252

53-
| prop | description | required | default |
54-
|-------------|-------------------------------------------|----------|---------|
55-
| klickartUrl | klickart url according to the environment | yes | null |
53+
| prop | description | required | default |
54+
|-------------|------------------------------------------- |----------|---------|
55+
| klickartURL | klickart url according to the environment | yes | null |
56+
| jwtSecret | secret shared with klickart | yes | null |
57+
| hotmartURL | hotmart-pro url according to the environment| yes | url* |
58+
59+
* url hotmart for development/staging/test & production must be provided by hotmart.
60+
61+
## Guide for developers
62+
63+
Acess the developer-guide:
64+
[Developer-guide](./developer-guide.md)

developer-guide.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# klickpages-header / Developer Guide
2+
3+
## First steps
4+
- Fork repositorie
5+
- git clone git@bitbucket.org:klicksite/klickpages-header.git
6+
- Acesse the folder klickpages-header and Run:
7+
``` npm run serve ```
8+
9+
## Running
10+
11+
Run the above command to start klickpages-header only on localhost:
12+
``` npm run serve ```
13+
14+
## Running locally with klickpages attributes
15+
16+
First run:
17+
``` npm run serve ```
18+
19+
To access the Klickpages-header loading attributes from the local klickpages db, access your welcome-to-klickpages folder, and up the container:
20+
``` docker-compose up ```
21+
22+
Add the following line to your etc/hosts:
23+
``` 127.0.0.1 sample.klickpages.local ```
24+
25+
After performing both procedures you can access the bar locally at the address:
26+
``` http://sample.klickpages.local:8080/ ```
27+
28+
## Deploy NPM
29+
30+
Before all steps, create an account at NPM and ask for an invitation to the organization.
31+
After that, do you have to follow that steps:
32+
33+
Build application:
34+
``` npm run build ```
35+
36+
You must have an account at NPM to run the following command and enter your credentials:
37+
``` npm login ```
38+
39+
Just confirm that you are right:
40+
``` npm whoami ```
41+
42+
Update the version in package.json and after, run:
43+
``` npm publish --access public ```
44+
45+
Any questions, contact the team :)

0 commit comments

Comments
 (0)