پروژه خود را ایجاد کنید

پلت فرم خود را مستقر کنید

Go to Odoo.sh and hit the Deploy your platform button.

../../../_images/deploy.png

با Github وارد شوید

Sign in with your Github account. If you do not have an account yet, hit the Create an account link.

../../../_images/github-signin.png

Odoo.sh را مجاز کنید

Grant Odoo.sh the required accesses to your account by clicking the Authorize button.

../../../_images/github-authorize.png

Odoo.sh اساساً نیاز دارد:

  • برای اطلاع از ورود و ایمیل Github خود،

  • برای ایجاد یک مخزن جدید در صورتی که تصمیم دارید از ابتدا شروع کنید،

  • to read your existing repositories, including the ones of your organizations, in case you want to start from an existing repository,

  • برای ایجاد یک وبکهک که هر بار که تغییرات را فشار می دهید از آن مطلع شوید،

  • to commit changes to make your deployment easier, merging branches or adding new submodules for example.

پروژه خود را ارسال کنید

Choose if you want to start from scratch by creating a new repository, or if you want to use an existing repository.

سپس یک نام انتخاب کنید یا مخزن مورد نظر خود را انتخاب کنید.

Choose the Odoo version you want to use. If you plan to import an existing database or an existing set of applications, you might need to choose the according version. If you start from scratch, use the latest version.

Enter your subscription code. This is also called subscription referral, contract number or activation code.

It should be the code of your Enterprise subscription that includes Odoo.sh.

Partners can use their partnership codes to start a trial. Should their clients start a project, they ought to get an Enterprise subscription including Odoo.sh and use its subscription code. The partner will get 50% of the amount back as commission. Contact your sales representative or account manager in order to get it.

When submitting the form, if you are notified your subscription is not valid, it either means:

  • این یک اشتراک موجود نیست،

  • این یک اشتراک شراکتی نیست،

  • این یک اشتراک سازمانی است، اما Odoo.sh را شامل نمی‌شود،

  • it is neither a partnership subscription or an enterprise subscription (e.g. an online subscription).

In case of doubt with your subscription, please contact the Odoo support.

../../../_images/deploy-form.png

تمام شدی!

You can start using Odoo.sh. Your first build is about to be created. You will soon be able to connect to your first database.

../../../_images/deploy-done.png

پایگاه داده خود را وارد کنید

You can import your database in your Odoo.sh project as long as it is in a supported version of Odoo.

ماژول ‌های خود را در مرحله تولید قرار دهید

If you use community or custom modules, add them in a branch in your Github repository. Databases hosted on the Odoo.com online platform do not have any custom modules. Users of these databases can therefore skip this step.

You can structure your modules as you wish, Odoo.sh will automatically detect the folders containing Odoo addons. For instance, you can put all your modules folder in the root directory of your repository, or group the modules in folders by categories that you define (accounting, project, ...).

For community modules available in public Git repositories, you can also consider to add them using Submodules.

Then, either make this branch the production branch, or merge it into your production branch.

یک نسخه پشتیبان دانلود کنید

پایگاه ‌های داده در محل

Access the URL /web/database/manager of your on-premise database and download a backup.

هشدار

If you cannot access the database manager, it may have been disabled by your system administrator. See the database manager security documentation.

You will need the master password of your database server. If you do not have it, contact your system administrator.

../../../_images/create-import-onpremise-backup.png

یک فایل فشرده شامل فایل ذخیره به عنوان فرمت پشتیبان انتخاب کنید.

../../../_images/create-import-onpremise-backup-dialog.png

پایگاه داده ‌های Odoo Online

Access your databases manager and download a backup of your database.

../../../_images/create-import-online-backup.png

هشدار

نسخه‌های آنلاین (مانند saas-*) در Odoo.sh پشتیبانی نمی‌شوند.

نسخه پشتیبان را آپلود کنید

Then, in your Odoo.sh project, in the backups tab of your production branch, import the backup you just downloaded.

../../../_images/create-import-production.png

Once the backup imported, you can access the database using the Connect button in the history of the branch.

../../../_images/create-import-production-done.png

سرورهای ایمیل خروجی خود را بررسی کنید

There is a default mail server provided with Odoo.sh. To use it, there must be no enabled outgoing mail server configured in your database in Settings ◄ Technical ◄ Outgoing Mail Servers (Developer mode must be activated).

After the import of your database, all outgoing email servers are disabled so you use the Odoo.sh email server provided by default.

هشدار

Port 25 is (and will stay) closed. If you want to connect to an external SMTP server, you should use ports 465 and 587.

اقدامات برنامه ریزی شده خود را بررسی کنید

همه اقدامات برنامه ریزی شده پس از وارد کردن غیرفعال می‌شوند.

This is to prevent your newly imported database to perform actions that could impact your running production, such as sending the mails remaining in the queue, processing mass mailings, or third-party services synchronization (Calendars, files hosting, ...).

If you plan to make the imported database your production, enable the scheduled actions you need. You can check what is enabled in the database of origin and enable the same actions in the imported database. Scheduled actions are located under Settings ◄ Technical ◄ Automation ◄ Scheduled Actions.

اشتراک خود را ثبت کنید

اشتراک شما پس از وارد کردن لغو می‌شود.

The imported database is considered a duplicate by default and the enterprise subscription is therefore removed, as you can only have one database linked per subscription.

If you plan to make it your production, unlink your former database from the subscription, and register the newly imported database. Read the database registration documentation for instructions.