Update Host

This commit is contained in:
Possible
2023-11-17 14:36:57 +01:00
parent 903ffcc06a
commit 9b8800bb71
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -5,12 +5,12 @@
Boilerplate Webpack 5, React and Bootstrap 5 project with global Css and Css modules enabled. Boilerplate Webpack 5, React and Bootstrap 5 project with global Css and Css modules enabled.
# Hosts File Config # Hosts File Config
In order to run this application in local, you'll need to modify your hosts file configuration. Then you will be able to access/serve your application at https://test.rocketplantech.com:3000 In order to run this application in local, you'll need to modify your hosts file configuration. Then you will be able to access/serve your application at https://test.manaknightdev.com:3000
### Windows ### Windows
Please include the following line in your hosts file Please include the following line in your hosts file
`127.0.0.1 test.rocketplantech.com` `127.0.0.1 test.manaknightdev.com`
See How to edit your hosts file on Windows [here](https://www.groovypost.com/howto/edit-hosts-file-windows-10/) See How to edit your hosts file on Windows [here](https://www.groovypost.com/howto/edit-hosts-file-windows-10/)
@@ -19,7 +19,7 @@ Please do the following steps
`sudo nano /private/etc/hosts` `sudo nano /private/etc/hosts`
add `127.0.0.1 test.rocketplantech.com` to the end of the file and save add `127.0.0.1 test.manaknightdev.com` to the end of the file and save
run `sudo dscacheutil -flushcache` to flush the DNS cache run `sudo dscacheutil -flushcache` to flush the DNS cache
@@ -54,9 +54,9 @@ for this project you can downgrade your `node version to 14 or 16`
# Task # Task
- To login go to https://test.rocketplantech.com:3000/ - To login go to https://test.manaknightdev.com:3000/
- kevin@rocketplantech.com / Abcdef123 - kevin@rocketplantech.com / Abcdef123
- Create the form page https://test.rocketplantech.com:3000/form as in screenshot_1 - Create the form page https://test.manaknightdev.com:3000/form as in screenshot_1
- Create delete modal and it can delete the form as well screenshot_2 - Create delete modal and it can delete the form as well screenshot_2
- When we click on add button, it will open modal popup showing form. need to integrate the ADD FORM api - When we click on add button, it will open modal popup showing form. need to integrate the ADD FORM api
- Need to integrate API to load the table - Need to integrate API to load the table
+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = merge(common, {
compress: true, compress: true,
hot: true, hot: true,
port: 3000, port: 3000,
host: 'test.rocketplantech.com', host: 'test.manaknightdev.com/',
https: true, https: true,
noInfo: true, //This turns off information regarding the bundle. Set to false if you need to view the messages noInfo: true, //This turns off information regarding the bundle. Set to false if you need to view the messages
}, },
+1 -1
View File
@@ -11,7 +11,7 @@
"prepare-husky": "husky install", "prepare-husky": "husky install",
"storybook": "start-storybook -p 6006", "storybook": "start-storybook -p 6006",
"test": "npx cypress open", "test": "npx cypress open",
"commit": "git add . && git commit -m \"Update Project purpose\" && git push" "commit": "git add . && git commit -m \"Update Host\" && git push"
}, },
"husky": { "husky": {
"hooks": { "hooks": {