I try to create a gitlab project using gitlab-rails console but i did not find how to do that.
I found how to create a user :
u = User.new(username: 'name', email: '[email protected]', name: 'Name name', password: 'password1234', password_confirmation: 'password1234', admin: true)
u.skip_confirmation!
u.save!
But does someone know how to create project ? Or best where can i find a documentation about gitlab-rails objects ? Something like a javadoc would be helpfull ...
Sincerly
I did not find how to create a project using gitlab-rails console, but I found a solution:
ruby script:
API request to create the project: