-
Generate an SSH key and add the PUBLIC KEY to your GitHub account. Make sure that your account has access to the in-house repository of polt-create
-
In your local machine, open up a terminal with superuser or administrator rights. We need to install the package globally. So run the command
npm install -g git@github.com:pingPoltergeist/polt-create.git
-
You would normally be prompted to log in to your GitHub account multiple times during installation. After that the package would be installed successfully and will be ready to use.
-
One-page App: To create a one-page application, navigate to the project directory (ideally empty) and run the command in a shell
polt-create onePager
. File structure would be generated and dependencies would be installed. Then the application would automatically open up in a browser window. -
React App: To create a React application, navigate to the project directory (ideally empty) and run the command in a shell
polt-create reactApp
. File structure would be generated and dependencies would be installed. Then the application would automatically open up in a browser window. -
Next App: To create a Next JS application, navigate to the project directory (ideally empty) and run the command in a shell
polt-create nextApp
. File structure would be generated and dependencies would be installed. Then the application would automatically open up in a browser window.
-
polt-create onePager
for one-page app -
polt-create reactApp
for React app -
polt-create nextApp
for Next JS app
-
Clone the repository in an appropriate directory
-
Open up a command line window in that directory with superuser or administrator privileges.
-
Run the command
npm link
-
Don't forget to run
npm unlink
after you are done