Create a project
To create a project in PWSLab: In your dashboard, click the green New Project button or use the plus icon in the navigation bar like below. This opens the New Project Page.
On the New project page, choose if you want to:
- Create a blank project.
- Create a project using with one of the available project templates as per the tech-stack you require.
- Import a project from a different repository, if enabled on your PWSLab instance. Contact your PWSLab admin if this option is unavailable.
To create a new blank project on the New project page:
- On the Blank project tab, provide the following information:
- The name of your project in the Project name field. You can’t use special characters, but you can use spaces, hyphens, underscores or even emoji.
- The Project description (optional) field enables you to enter a description for your project’s dashboard, which will help others understand what your project is about. Though it’s not required, it’s a good idea to fill this in.
- Changing the Visibility Level modifies the project’s viewing and access rights for users.
- Selecting the Initialize repository with a README option creates a README file so that the Git repository is initialized, has a default branch, and can be cloned.
- Click Create project.
If you are going to work on a Standard technology stack like PHP Laravel, React Native, Gatsby, Ruby on Rails, NodeJS, Android or .NET Core then Project templates can pre-populate your project with necessary files to get you started quickly.
Project Templates are developed and maintained by PWSLab Team in PWSLab.ORG.
To use a built-in template on the New project page, click on the Create from template tab.
From the list of available built-in templates, click the:
- Preview button to look at the template source itself.
- Use template button to start creating the project.
Finish creating the project by filling out the project’s details. The process is the same as for using a blank project.
Push to create a new project
When you create a new repo locally, instead of going to PWSLab to manually create a new project and then push the repo, you can directly push it to PWSLab to create the new project, all without leaving your terminal. If you have access to that namespace, we will automatically create a new project under that PWSLab namespace with its visibility set to Private by default (you can later change it in the project’s settings).
This can be done by using either SSH or HTTPS:
Once the push finishes successfully, a remote message will indicate the command to set the remote and the URL to the new project:
Also, let us know if the article is helpful!