Skip to content

Commit b1866dd

Browse files
committed
reduce setup process and fix sqlite issue
1 parent dcf14ba commit b1866dd

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
22
.env
33
package-lock.json
4-
.DS_Store
4+
.DS_Store
5+
db.sqlite3

README.md

+19-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,26 @@ $ npm start // this will compile the react code using webpack and run them at po
4141

4242
## Server Side (PORT: 4000)
4343

44-
## Prepare your secret
44+
## Environment Variables (.env)
4545

46-
You need to add a JWT_SECRET in .env
46+
JWT_SECRET = YOUR_JWT_SECRET
47+
48+
### NOTE: nodecloud currently supports MICROSOFT AZURE
49+
Add the following Azure Credentials to your .env file
50+
51+
AZURE_CLIENT_ID= YOUR_CLIENT_ID
52+
53+
AZURE_CLIENT_SECRET=YOUR_CLIENT_SECRET
54+
55+
AZURE_TENANT_ID=YOUR_TENANT_ID
56+
57+
AZURE_SUBSCRIPTION_ID=YOUR_SUBSCRIPTION_ID
58+
59+
AZURE_STORAGE_ACCESS_KEY=YOUR_STORAGE_ACCESS_KEY
60+
61+
AZURE_STORAGE_ACCOUNT=YOUR_STORAGE_ACCOUNT
62+
63+
AZURE_STORAGE_CONNECTION_STRING=YOUR_STORAGE_CONNECTION_STRING
4764

4865
## Start
4966

@@ -77,5 +94,4 @@ $ docker-compose up
7794
</p>
7895

7996
## License
80-
8197
MIT

0 commit comments

Comments
 (0)